Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-13 23:59:03.226391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6290566921234131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-13 23:59:22.658675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3087155818939209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-13 23:59:42.601436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3055410385131836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:00:03.174723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3118722438812256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:00:22.727207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2880825996398926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:00:42.740194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2847137451171875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:01:02.423609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30353403091430664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:01:21.884380
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3150036334991455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:01:41.886928
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29610729217529297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:02:02.487781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3508925437927246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:02:22.025293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2933847904205322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:02:42.025912
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2963111400604248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:03:02.623385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30461812019348145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:03:22.154580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3101005554199219 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:03:42.183463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28971028327941895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:04:02.858040
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29752683639526367 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:04:22.335343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2892317771911621 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:04:42.316104
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29276514053344727 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:05:03.120498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29538869857788086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:05:22.456939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875072956085205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:05:42.443243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919192314147949 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:06:02.992840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925281524658203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:06:22.616970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29239821434020996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:06:42.583623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30454540252685547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:07:03.498819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5406980514526367 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:07:22.706248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2870059013366699 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:07:42.713295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29062843322753906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:08:02.228476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30194950103759766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:08:21.896625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2940073013305664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:08:41.880863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3025331497192383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:09:02.596871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30527210235595703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:09:22.049613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2922332286834717 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:09:42.047396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2952876091003418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:10:02.682745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29507946968078613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:10:22.202813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2983431816101074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:10:42.203669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29167652130126953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:11:02.952793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2904834747314453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:11:22.364512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.312119722366333 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:11:42.346282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2976222038269043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:12:02.760932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3000805377960205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:12:22.500983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2952704429626465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:12:42.518451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2887272834777832 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:13:03.308977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2898249626159668 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:13:22.681124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.292982816696167 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:13:42.656281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2882721424102783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:14:02.260208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2946774959564209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:14:21.815529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2899494171142578 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:14:41.813073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29584169387817383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:15:02.487645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2996094226837158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:15:21.954946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29195427894592285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:15:41.981943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29317450523376465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:16:02.562061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28824877738952637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:16:22.132242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29151201248168945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:16:42.111808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29157185554504395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:17:02.929022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30252814292907715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:17:22.260067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29149603843688965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:17:42.253326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2986938953399658 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:18:02.810118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29091906547546387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:18:22.409874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29331374168395996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:18:42.459629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29443979263305664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:19:03.322869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2918705940246582 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:19:22.597818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2940845489501953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:19:42.598344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2871558666229248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:20:03.269752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2920680046081543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:20:22.749696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3010990619659424 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:20:42.751951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2859337329864502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:21:02.570164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29375219345092773 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:21:21.898019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3057444095611572 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:21:41.894141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2874743938446045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:22:02.451418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2939443588256836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:22:22.079913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28623366355895996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:22:42.040678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29776930809020996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:23:02.792214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30884695053100586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:23:22.171146
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28585338592529297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:23:42.186055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3086230754852295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:24:02.584479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3873171806335449 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:24:22.327029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2933962345123291 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:24:42.358305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2911515235900879 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:25:03.077581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29149770736694336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:25:22.487846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2853200435638428 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:25:42.482984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30214858055114746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:26:03.152833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29999780654907227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:26:22.630554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28951048851013184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:26:42.628999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29451704025268555 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:27:03.429890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29337263107299805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:27:22.791648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.290755033493042 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:27:42.766573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3099558353424072 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:28:02.283924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29706263542175293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:28:21.902038
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2870140075683594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:28:41.917280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29305124282836914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:29:02.810072
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32431745529174805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:29:22.081569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.302654504776001 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:29:42.072789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944161891937256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:30:02.965765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2950575351715088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:30:22.582769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28935980796813965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:30:42.594940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29946374893188477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:31:03.259240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3237876892089844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:31:22.759587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 5.2546961307525635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:31:42.738526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3071715831756592 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:32:02.276305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29148173332214355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:32:21.884366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29146409034729004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:32:41.901894
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2949676513671875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:33:02.751069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30030012130737305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:33:22.081371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30242180824279785 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:33:42.057088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29001331329345703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:34:02.663816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30047035217285156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:34:22.208627
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2908821105957031 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:34:42.191965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29413485527038574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:35:02.963324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.290618896484375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:35:22.327881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.291750431060791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:35:42.346476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2951798439025879 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:36:02.860725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29105544090270996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:36:22.491890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2910749912261963 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:36:42.476862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2947995662689209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:37:02.985611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3832530975341797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:37:22.632590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28606510162353516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:37:42.619274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2945523262023926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:38:03.151633
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3151257038116455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:38:22.745324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28981542587280273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:38:42.801079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890594005584717 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:39:02.469817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30889058113098145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:39:21.956895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28638410568237305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:39:41.961067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29279422760009766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:40:02.501414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29224205017089844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:40:22.110214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29024839401245117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:40:42.102617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29979634284973145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:41:02.503869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.36659955978393555 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:41:22.283217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29219579696655273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:41:42.268854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2356109619140625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:42:02.867424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2973208427429199 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:42:22.425390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.289639949798584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:42:42.421210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29018211364746094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:43:03.195878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293060302734375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:43:22.565703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29077911376953125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:43:42.565902
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2957189083099365 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:44:03.120973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3494555950164795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:44:22.708441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2897641658782959 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:44:42.737278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29213762283325195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:45:02.529987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2902946472167969 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:45:21.914805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28803563117980957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:45:41.878036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925293445587158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:46:02.502814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2993204593658447 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:46:22.018656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3086888790130615 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:46:42.018853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2850759029388428 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:47:02.781402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2911686897277832 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:47:22.166312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2869079113006592 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:47:42.159322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2986629009246826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:48:02.777658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29080724716186523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:48:22.301580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926981449127197 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:48:42.290266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30474328994750977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:49:02.996431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29962682723999023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:49:22.421776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2905402183532715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:49:42.465736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875394821166992 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:50:03.016400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30139708518981934 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:50:22.610595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29529833793640137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:50:42.632223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3160231113433838 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:51:03.409085
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2904207706451416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:51:22.784887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29210329055786133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:51:42.763849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.304807186126709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:52:02.153515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31619954109191895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:52:21.915632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28845667839050293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:52:41.900626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919731140136719 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:53:02.645181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3625044822692871 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:53:22.060275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29085826873779297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:53:42.071964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3101370334625244 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:54:02.848545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3011176586151123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:54:22.223545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2889392375946045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:54:42.215520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2924959659576416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:55:02.988546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2901792526245117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:55:22.367677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29311633110046387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:55:42.356206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28556203842163086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:56:02.981800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2967853546142578 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:56:22.507127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2884700298309326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:56:42.512382
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31093382835388184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:57:03.176809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2952759265899658 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:57:22.645568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2877070903778076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:57:42.658252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29848289489746094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:59:03.346367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3069169521331787 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:59:22.755200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2931678295135498 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 00:59:42.763973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3051414489746094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:00:02.327158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925071716308594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:00:21.906535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2898590564727783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:00:41.904155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2992398738861084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:01:02.662435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903449535369873 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:01:22.045166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3148081302642822 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:01:42.064074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29503583908081055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:02:02.546740
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.36811041831970215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:02:22.216037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2938041687011719 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:02:42.230120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890195846557617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:03:02.831372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3393244743347168 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:03:22.374012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28623342514038086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:03:42.376258
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28592419624328613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:04:02.972074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944822311401367 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:04:22.546083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29875826835632324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:04:42.525185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30014538764953613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:05:02.995739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31028199195861816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:05:22.636977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2982187271118164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:05:42.662467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2865333557128906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:06:02.233517
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2953639030456543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:06:21.799211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2946794033050537 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:06:41.850593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29713869094848633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:07:02.624672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2923603057861328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:07:22.002743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28920865058898926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:07:42.003693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28842782974243164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:08:02.531986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31322765350341797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:08:22.135654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28946948051452637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:08:42.158314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926456928253174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:09:02.945144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.298445463180542 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:09:22.298955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925446033477783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:09:42.293733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28749847412109375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:10:02.844645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926807403564453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:10:22.441871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28807783126831055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:10:42.425095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2921102046966553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:11:03.222219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30126070976257324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:11:22.549238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28534936904907227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:11:42.561197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.44225239753723145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:12:03.063638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31519079208374023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:12:22.698332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29607105255126953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:12:42.703992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29491543769836426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:13:02.405996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2966642379760742 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:13:21.873515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3061666488647461 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:13:41.855813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29708218574523926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:14:02.571574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.292224645614624 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:14:22.004499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2960317134857178 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:14:41.989522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28534555435180664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:15:02.718638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2943131923675537 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:15:22.157433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2871696949005127 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:15:42.146590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29432058334350586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:16:02.696138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294039249420166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:16:22.314944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29096531867980957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:16:42.317142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29552793502807617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:17:03.019708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30252695083618164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:17:22.469433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28789591789245605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:17:42.470020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28537797927856445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:18:02.940821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3808016777038574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:18:22.621821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2971611022949219 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:18:42.612673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29062724113464355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:19:03.496084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29230546951293945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:19:22.818851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2884690761566162 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:19:42.754091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2905547618865967 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:20:02.257989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.306593656539917 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:20:21.904913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29026222229003906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:20:41.915386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29461050033569336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:21:02.615087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30284762382507324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:21:22.046765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293853759765625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:21:42.051346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2879459857940674 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:22:02.558835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30965542793273926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:22:22.193191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2898428440093994 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:22:42.216706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2949209213256836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:23:03.021116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29419994354248047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:23:22.358812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28995466232299805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:23:42.369652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28999853134155273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:24:03.097105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3035745620727539 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:24:22.524911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29345703125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:24:42.500976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28461360931396484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:25:03.026052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.33733248710632324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:25:22.640029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29325413703918457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:25:42.659675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29332828521728516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:26:02.297881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28942036628723145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:26:21.807604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28998732566833496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:26:41.826933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30341005325317383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:27:02.497455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2994379997253418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:27:21.973963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2987947463989258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:27:42.007331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2861323356628418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:28:02.565177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29146814346313477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:28:22.150700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2951662540435791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:28:42.150996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29021573066711426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:29:03.038014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29853200912475586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:29:22.326810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2959606647491455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:29:42.332781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29599881172180176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:30:02.846952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912125587463379 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:30:22.513497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29441094398498535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:30:42.494017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903578281402588 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:31:03.003054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3600287437438965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:31:22.632880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903738021850586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:31:42.636289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31509923934936523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:32:03.234562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293612003326416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:32:22.789731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2972681522369385 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:32:42.769255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.291409969329834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:33:02.473403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29428958892822266 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:33:21.909535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2883033752441406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:33:41.912703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30120420455932617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:34:02.687695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2973785400390625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:34:22.079125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28972339630126953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:34:42.052762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2879447937011719 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:35:02.627835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3087882995605469 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:35:22.217049
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.291489839553833 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:35:42.193817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3068575859069824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:36:02.699404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29383397102355957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:36:22.322901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294219970703125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:36:42.347774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29434657096862793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:37:03.117386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29283952713012695 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:37:22.494907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2956509590148926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:37:42.511870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29729294776916504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:38:03.143853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30164194107055664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:38:22.655324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2876698970794678 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:38:42.655595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2891509532928467 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:39:02.580802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29474353790283203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:39:21.780202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294403076171875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:39:41.788384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29225635528564453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:40:02.332549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2909402847290039 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:40:21.931360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.308704137802124 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:40:41.944123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294675350189209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:41:02.541556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29726576805114746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:41:22.073391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2904348373413086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:41:42.087865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 5.3506786823272705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:42:02.654529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29188060760498047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:42:22.240161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2927134037017822 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:42:42.223814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3004019260406494 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:43:02.876605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2978475093841553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:43:22.452095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3088860511779785 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:43:42.374209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30145740509033203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:44:03.049861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2895340919494629 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:44:22.509228
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2913212776184082 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:44:42.516990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28726792335510254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:45:03.291994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28887104988098145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:45:22.663167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2921793460845947 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:45:42.664424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2939260005950928 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:46:02.229111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28975677490234375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:46:21.808826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2901644706726074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:46:41.822088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3065488338470459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:47:02.552527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919740676879883 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:47:21.946501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30547595024108887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:47:41.977770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29341864585876465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:48:02.644944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293428897857666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:48:22.176088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.301206111907959 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:48:42.133483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2934892177581787 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:49:02.666506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3995378017425537 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:49:22.284439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29470324516296387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:49:42.292955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29841136932373047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:50:02.918970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2918555736541748 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:50:22.414826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2946007251739502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:50:42.446665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.285891056060791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:51:03.275575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31951189041137695 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:51:22.602857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3072669506072998 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:51:42.603226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3194580078125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:52:03.130522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30125951766967773 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:52:22.764647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2893557548522949 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:52:42.759130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29443812370300293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:53:02.470348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29308247566223145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:53:21.903239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2910339832305908 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:53:41.884148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29231691360473633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:54:02.429221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32926368713378906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:54:22.031206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3131117820739746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:54:42.043010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29112720489501953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:55:02.708772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29572415351867676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:55:22.187163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2954421043395996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:55:42.189345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29430055618286133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:56:02.746273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3080000877380371 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:56:22.323073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2861053943634033 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:56:42.358816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2866172790527344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:57:03.113100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29193687438964844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:57:22.510606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28666067123413086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:57:42.498823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2942936420440674 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:59:03.130305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2988882064819336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:59:22.580070
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2941756248474121 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 01:59:42.547310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29631710052490234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:00:03.220192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2982041835784912 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:00:22.721617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29401159286499023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:00:42.743529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29561948776245117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:01:02.547229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3005406856536865 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:01:21.901462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28917503356933594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:01:41.893039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29857897758483887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:02:02.423332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29611802101135254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:02:22.023513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30766916275024414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:02:42.028430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2855393886566162 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:03:02.754077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2950105667114258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:03:22.170128
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2954075336456299 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:03:42.168453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30524110794067383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:04:02.863341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29141902923583984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:04:22.309679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28934526443481445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:04:42.310655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.288193941116333 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:05:02.867478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.33883047103881836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:05:22.480133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28561830520629883 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:05:42.445523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3193354606628418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:06:02.890572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2982480525970459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:06:22.579430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29181623458862305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:06:42.576221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2901761531829834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:07:03.377959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30634117126464844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:07:22.722501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2966310977935791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:07:42.720492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29364681243896484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:08:02.382057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3021986484527588 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:08:21.863589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2983548641204834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:08:41.857097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2935001850128174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:09:02.752444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.301159143447876 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:09:22.022367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 4.993652582168579 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:09:42.016675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2934448719024658 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:10:02.552707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2902812957763672 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:10:22.161574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2970402240753174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:10:42.190178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28402161598205566 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:11:02.938882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29941558837890625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:11:22.327290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2885298728942871 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:11:42.402310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2927687168121338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:12:03.051857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29430508613586426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:12:22.567353
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29261040687561035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:12:42.539385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28754544258117676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:13:03.177417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3030738830566406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:13:22.739860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3058907985687256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:13:42.690664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3080012798309326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:14:02.187891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29833436012268066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:14:21.842515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29242992401123047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:14:41.850896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2954521179199219 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:15:02.680079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2961604595184326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:15:21.988550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29195523262023926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:15:41.990287
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29631996154785156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:16:02.536538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926051616668701 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:16:22.149586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944965362548828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:16:42.123700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2888212203979492 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:17:02.803174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29492998123168945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:17:22.279603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2864265441894531 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:17:42.276254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28630971908569336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:18:02.885796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2908775806427002 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:18:22.439179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28942060470581055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:18:42.483983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2902510166168213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:19:03.341795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919323444366455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:19:22.648313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28908634185791016 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:19:42.621251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 8.393925189971924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:20:03.228464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915785312652588 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:20:22.770275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28803491592407227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:20:42.796185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29746484756469727 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:21:02.582015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29311203956604004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:21:21.920436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29132533073425293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:21:41.937195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29404544830322266 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:22:02.540240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29145145416259766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:22:22.083888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28650498390197754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:22:42.060020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31438159942626953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:23:02.684665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3442873954772949 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:23:22.183035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2852938175201416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:23:42.178382
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29853224754333496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:24:02.734703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2977566719055176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:24:22.318138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2927374839782715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:24:42.322112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28718066215515137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:25:02.784028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3124845027923584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:25:22.481568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29066991806030273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:25:42.493208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3128931522369385 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:26:03.054651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29909539222717285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:26:22.636320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28693485260009766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:26:42.637214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2933046817779541 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:27:03.232919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3508906364440918 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:27:22.782383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30147242546081543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:27:42.780039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2896156311035156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:28:02.095339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3509092330932617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:28:21.910701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2930419445037842 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:28:41.934341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30286478996276855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:29:02.817003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2980952262878418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:29:22.098611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2911207675933838 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:29:42.096597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30003809928894043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:30:02.723506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30956435203552246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:30:22.241791
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30216026306152344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:30:42.248927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30619025230407715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:31:02.953444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29787468910217285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:31:22.387201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28576135635375977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:31:42.393371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3164815902709961 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:32:02.922596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29144930839538574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:32:22.543628
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2957932949066162 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:32:42.532139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30622434616088867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:33:03.003596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3082883358001709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:33:22.671339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29131555557250977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:33:42.709015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294891357421875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:34:02.435220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29808592796325684 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:34:21.834875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3059535026550293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:34:41.839916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2882533073425293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:35:02.528259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2972147464752197 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:35:22.034574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28844213485717773 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:35:41.978855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2889227867126465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:36:02.504469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2990388870239258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:36:22.127340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32416749000549316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:36:42.147083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3102598190307617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:37:02.888944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30385446548461914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:37:22.274205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29170680046081543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:37:42.300582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28835606575012207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:38:02.877514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29027724266052246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:38:22.449127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2887721061706543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:38:42.431579
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29653024673461914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:39:03.202889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3131742477416992 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:39:22.573905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2876882553100586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:39:42.618694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28953003883361816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:40:03.167666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30054545402526855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:40:22.843815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30853891372680664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:40:42.749348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2874610424041748 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:41:02.533906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29057931900024414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:41:21.903094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2880849838256836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:41:41.911255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2951931953430176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:42:02.507324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2905869483947754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:42:22.049125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903456687927246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:42:42.138948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29656434059143066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:43:02.817788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29578709602355957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:43:22.294047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2900416851043701 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:43:42.285166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28919267654418945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:44:03.043499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29266953468322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:44:22.463366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30396413803100586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:44:42.456897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2908604145050049 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:45:03.213922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30614686012268066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:45:22.630364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3045949935913086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:45:42.586503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6748127937316895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:46:03.135400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3086240291595459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:46:22.727528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29500603675842285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:46:42.730174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32495856285095215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:47:02.530749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30344247817993164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:47:21.869309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2906215190887451 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:47:41.864743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28940629959106445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:48:02.426039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3012850284576416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:48:22.034059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28568196296691895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:48:42.014266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29871416091918945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:49:02.861820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2990703582763672 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:49:22.137710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2937784194946289 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:49:42.167614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915940284729004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:50:02.748164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30140233039855957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:50:22.328399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29156064987182617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:50:42.326745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28725767135620117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:51:03.134780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30037856101989746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:51:22.476272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28530120849609375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:51:42.475043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912311553955078 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:52:03.004780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29157519340515137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:52:22.603149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31198883056640625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:52:42.614369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2930896282196045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:53:03.269540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29584527015686035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:53:22.757629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2932772636413574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:53:42.758539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2913031578063965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:54:02.294970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.301149845123291 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:54:21.923262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2945702075958252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:54:41.888060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.285919189453125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:55:02.314337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4396369457244873 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:55:22.018496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3154144287109375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:55:42.038692
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3043193817138672 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:56:02.381017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.35320186614990234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:56:22.168390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2901778221130371 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:56:42.162268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2931647300720215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:57:02.857394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2991814613342285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:57:22.317499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2881779670715332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:57:42.311591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2867467403411865 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:59:03.165305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29782772064208984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:59:22.428619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29118847846984863 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 02:59:42.431631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30071258544921875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:00:03.128962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3046131134033203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:00:22.658986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29247450828552246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:00:42.598609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2927868366241455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:01:03.231347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30704760551452637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:01:22.774378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29819297790527344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:01:42.743710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2949695587158203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:02:02.411217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3007514476776123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:02:21.878516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.33143043518066406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:02:41.924447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925117015838623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:03:02.705130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926161289215088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:03:22.068435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2978239059448242 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:03:42.074134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30437541007995605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:04:02.778333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919437885284424 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:04:22.211484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3043637275695801 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:04:42.211531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.297011137008667 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:05:02.906359
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3046092987060547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:05:22.373843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2906606197357178 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:05:42.403644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28755640983581543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:06:03.046843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3091452121734619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:06:22.555521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2989006042480469 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:06:42.574824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875521183013916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:07:03.162833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.34448766708374023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:07:22.717135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3004441261291504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:07:42.722829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2948429584503174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:08:02.240744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2977325916290283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:08:21.861333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2884809970855713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:08:41.881923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29340124130249023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:09:02.758023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30303382873535156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:09:22.053948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30923032760620117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:09:42.026219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.34726691246032715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:10:02.700420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3020486831665039 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:10:22.175916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28769516944885254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:10:42.173894
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31275057792663574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:11:02.848600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3530404567718506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:11:22.332540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.33034658432006836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:11:42.424171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29216647148132324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:12:03.020717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3202972412109375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:12:22.572492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2969706058502197 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:12:42.576898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2917616367340088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:13:03.337715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2978553771972656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:13:22.745893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.289233922958374 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:13:42.741125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28814053535461426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:14:02.383217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2995760440826416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:14:21.909747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3071157932281494 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:14:41.906340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28922033309936523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:15:02.392765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3100266456604004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:15:22.050186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.304607629776001 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:15:42.048031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2958526611328125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:16:02.602877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2916576862335205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:16:22.193990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28800511360168457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:16:42.261001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.295809268951416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:17:03.084769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30176782608032227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:17:22.403710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28734683990478516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:17:42.417290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29218029975891113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:18:03.000133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29075169563293457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:18:22.577029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2872645854949951 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:18:42.560028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29236602783203125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:19:03.321597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30013489723205566 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:19:22.697385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2978818416595459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:19:42.701199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2931649684906006 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:20:02.258120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915325164794922 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:20:21.833032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29088807106018066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:20:41.829716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3020365238189697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:21:02.603635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.304201602935791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:21:21.967272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3047215938568115 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:21:41.969159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3119986057281494 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:22:02.573250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2921571731567383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:22:22.105491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2867302894592285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:22:42.110061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30805063247680664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:23:02.901968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2909984588623047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:23:22.253449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29288482666015625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:23:42.259364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912166118621826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:24:02.974216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2985682487487793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:24:22.420410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2904644012451172 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:24:42.387927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.33542609214782715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:25:02.961207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3230726718902588 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:25:22.559262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31099700927734375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:25:42.539144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2876608371734619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:26:03.135138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29542994499206543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:26:22.670731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2971525192260742 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:26:42.689816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29546618461608887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:27:02.426898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.41875123977661133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:27:21.867496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2936136722564697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:27:41.866885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29108190536499023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:28:02.498976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890143394470215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:28:22.012531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29498958587646484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:28:42.008201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2878119945526123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:29:02.677465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31288743019104004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:29:22.153716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29679322242736816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:29:42.165901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28592872619628906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:30:02.710170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915356159210205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:30:22.313992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2892184257507324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:30:42.332383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2869856357574463 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:31:03.121559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28900718688964844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:31:22.492227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3124988079071045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:31:42.470531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3237111568450928 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:32:02.875393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3031191825866699 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:32:22.595741
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2878451347351074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:32:42.614231
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2897777557373047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:33:03.367749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31153321266174316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:33:22.761881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2878232002258301 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:33:42.775162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2999305725097656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:34:02.472465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2917792797088623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:34:21.931004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.292330265045166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:34:41.937037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29724907875061035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:35:02.784648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2881944179534912 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:35:22.091370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3113234043121338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:35:42.065107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3010530471801758 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:36:02.711582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2917513847351074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:36:22.213508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2954246997833252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:36:42.203489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29678845405578613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:37:02.864695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3003096580505371 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:37:22.349302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3127892017364502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:37:42.356586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30959033966064453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:38:02.937959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28904032707214355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:38:22.553080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3022887706756592 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:38:42.509539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3026161193847656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:39:03.377676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2939462661743164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:39:22.654768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2930772304534912 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:39:42.692405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2869579792022705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:40:02.306925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.295943021774292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:40:21.837662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944295406341553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:40:41.838605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2949557304382324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:41:02.484117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3117988109588623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:41:22.003917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3099195957183838 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:41:42.004281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875642776489258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:42:02.474653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3042185306549072 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:42:22.140551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28815531730651855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:42:42.149334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29250669479370117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:43:02.599235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.43206167221069336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:43:22.298398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2974514961242676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:43:42.302807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29868340492248535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:44:02.981406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293210506439209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:44:22.447702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29663681983947754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:44:42.453935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919330596923828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:45:03.232379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2994976043701172 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:45:22.602858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2917187213897705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:45:42.617792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3136591911315918 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:46:02.949446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3585476875305176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:46:22.758827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29347968101501465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:46:42.765480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3089156150817871 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:47:02.574479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29086828231811523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:47:21.901155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2889435291290283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:47:41.922524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28613877296447754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:48:02.543163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2907681465148926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:48:22.081951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2992892265319824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:48:42.069394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28985047340393066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:49:02.798954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30391550064086914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:49:22.221573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2980518341064453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:49:42.228575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3069443702697754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:50:02.915485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2922220230102539 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:50:22.376843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2982156276702881 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:50:42.380352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2958991527557373 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:51:02.974129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3414466381072998 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:51:22.524638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.7372679710388184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:51:42.537808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2899777889251709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:52:03.125126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2917349338531494 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:52:22.719388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890002727508545 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:52:42.693354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29166674613952637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:53:02.453797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2920398712158203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:53:21.849549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28502345085144043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:53:41.825202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903454303741455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:54:02.584190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30319929122924805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:54:21.977732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2947843074798584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:54:41.981588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2921581268310547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:55:02.777001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926676273345947 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:55:22.104953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2866401672363281 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:55:42.132003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3033180236816406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:56:02.679662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3008708953857422 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:56:22.302363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28647541999816895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:56:42.334521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944498062133789 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:57:02.903069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3583037853240967 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:57:22.477644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.290010929107666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:57:42.488021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29448771476745605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:59:03.404502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29834914207458496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:59:22.615664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2995259761810303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 03:59:42.615937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29004955291748047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:00:03.237623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2944910526275635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:00:22.761553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2943120002746582 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:00:42.760319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2893555164337158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:01:02.437574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29881739616394043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:01:21.941787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3106369972229004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:01:41.920915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2988865375518799 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:02:02.414267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29923152923583984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:02:22.040731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3107478618621826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:02:42.073907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903459072113037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:03:02.695268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30159926414489746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:03:22.210238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2898991107940674 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:03:42.224105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3100731372833252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:04:02.867951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2918524742126465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:04:22.380294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28882431983947754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:04:42.443157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31616878509521484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:05:02.992241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3397507667541504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:05:22.585733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2985196113586426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:05:42.609320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2945430278778076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:06:03.171877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29259586334228516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:06:22.770782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29290103912353516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:06:42.751590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294755220413208 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:07:02.410375
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29830479621887207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:07:21.889459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30453968048095703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:07:41.896427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.286449670791626 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:08:02.491004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29170775413513184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:08:22.054756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31163501739501953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:08:42.053482
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28731608390808105 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:09:02.746504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3133206367492676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:09:22.216115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2859487533569336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:09:42.211718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2935810089111328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:10:02.808208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3012821674346924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:10:22.350133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29158544540405273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:10:42.370616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3007543087005615 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:11:03.158480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29238224029541016 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:11:22.531095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 4.488365411758423 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:11:42.523156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32184934616088867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:12:02.963612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2960677146911621 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:12:22.656685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28977227210998535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:12:42.652016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294278621673584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:13:02.307026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3060002326965332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:13:21.811168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29959583282470703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:13:41.787978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2952413558959961 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:14:02.312449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30536389350891113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:14:21.941740
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2882263660430908 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:14:41.957187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2897789478302002 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:15:02.512896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32343029975891113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:15:22.100888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28734517097473145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:15:42.092138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28837013244628906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:16:02.644193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3001382350921631 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:16:22.247756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30823659896850586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:16:42.242775
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28887438774108887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:17:02.906543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2931957244873047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:17:22.398406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29187703132629395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:17:42.409934
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2924776077270508 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:18:02.957395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29230427742004395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:18:22.556744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29222822189331055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:18:42.580840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2877957820892334 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:19:03.366329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.293414831161499 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:19:22.726616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2900388240814209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:19:42.725393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28812193870544434 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:20:02.337658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29047608375549316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:20:21.883762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2993793487548828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:20:41.866374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29206156730651855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:21:02.607641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29218387603759766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:21:22.030119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2920567989349365 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:21:42.048809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3153672218322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:22:02.379824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30007457733154297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:22:22.196010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2923719882965088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:22:42.203426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29633545875549316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:23:02.973510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2900276184082031 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:23:22.332750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28832554817199707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:23:42.343705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28915929794311523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:24:02.923903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3333592414855957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:24:22.554358
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2964329719543457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:24:42.492950
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29629945755004883 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:25:03.216577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2930014133453369 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:25:22.649022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3011963367462158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:25:42.638841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2986574172973633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:26:03.123994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.295804500579834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:26:22.776805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2925102710723877 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:26:42.782994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29073071479797363 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:27:02.292939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.34925341606140137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:27:21.928645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2894570827484131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:27:41.924705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28859496116638184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:28:02.417965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3116598129272461 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:28:22.069746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2885451316833496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:28:42.064999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29905223846435547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:29:02.971673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2938377857208252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:29:22.210667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29233360290527344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:29:42.243007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28515005111694336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:30:02.894259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29689693450927734 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:30:22.405523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28990745544433594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:30:42.408250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3015625476837158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:31:03.135321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2939279079437256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:31:22.567447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2959115505218506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:31:42.560063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 5.350319147109985 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:32:03.011388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2983086109161377 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:32:22.706355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915527820587158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:32:42.680346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29542994499206543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:33:02.353467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3042922019958496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:33:21.808836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2935788631439209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:33:41.816531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2914314270019531 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:34:02.518969
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2885122299194336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:34:21.963574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3065674304962158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:34:41.998383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2922039031982422 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:35:02.602871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3021984100341797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:35:22.150015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29879021644592285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:35:42.143528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875211238861084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:36:02.738929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29517102241516113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:36:22.299659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903587818145752 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:36:42.301254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3090083599090576 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:37:03.062363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28998827934265137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:37:22.438792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2858757972717285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:37:42.446083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29645419120788574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:38:03.044611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29323482513427734 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:38:22.616566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2899160385131836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:38:42.635986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28838467597961426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:39:03.507424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29349803924560547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:39:22.801898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29694294929504395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:39:42.782234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2924540042877197 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:40:02.355981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.290499210357666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:40:21.935277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3120076656341553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:40:41.950937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2914905548095703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:41:02.796877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31888341903686523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:41:22.082312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2905561923980713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:41:42.128014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31101441383361816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:42:02.429485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31736087799072266 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:42:22.262102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2963104248046875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:42:42.281142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2909083366394043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:43:03.003336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3025832176208496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:43:22.448050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30374598503112793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:43:42.425640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2968432903289795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:44:03.021593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29380321502685547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:44:22.576667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2922184467315674 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:44:42.598699
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28859925270080566 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:45:03.296913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3104207515716553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:45:22.760384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28508615493774414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:45:42.743719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31793713569641113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:46:02.213111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3068501949310303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:46:21.903428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28878211975097656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:46:41.886287
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2883632183074951 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:47:02.421289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3437211513519287 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:47:22.048310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30329155921936035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:47:42.032488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2898876667022705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:48:02.695609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3028581142425537 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:48:22.193952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28821778297424316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:48:42.175338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29195237159729004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:49:02.846803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30765819549560547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:49:22.329847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919135093688965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:49:42.351741
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2889087200164795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:50:02.763408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3598461151123047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:50:22.515484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890610694885254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:50:42.483516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30413293838500977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:51:03.146686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29401111602783203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:51:22.627654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29166293144226074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:51:42.622546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31341099739074707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:52:03.169997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.319080114364624 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:52:22.755899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29371213912963867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:52:42.797209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912144660949707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:53:02.474122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29770708084106445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:53:21.933891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28714799880981445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:53:41.927898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2866055965423584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:54:02.478242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29441118240356445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:54:22.099498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29506850242614746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:54:42.099514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31609225273132324 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:55:02.908629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3008444309234619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:55:22.235404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29752230644226074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:55:42.246807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29981255531311035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:56:02.893556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3007161617279053 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:56:22.407055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.296907901763916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:56:42.440929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2868196964263916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:57:03.200001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30143022537231445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:57:22.608619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2951021194458008 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:57:42.571520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2967660427093506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:59:03.366057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29979658126831055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:59:22.678952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2868204116821289 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 04:59:42.698872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29729413986206055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:00:02.314640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926342487335205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:00:21.833077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2982800006866455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:00:41.831215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3081808090209961 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:01:02.655174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3006598949432373 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:01:21.979173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2875034809112549 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:01:41.974543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 5.3495378494262695 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:02:02.617201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3047158718109131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:02:22.182071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2962336540222168 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:02:42.119005
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3077852725982666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:03:02.650730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3085598945617676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:03:22.276158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3104972839355469 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:03:42.249169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3020632266998291 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:04:02.789388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29355740547180176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:04:22.401978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29097580909729004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:04:42.405721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30080461502075195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:05:03.066663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31229305267333984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:05:22.552141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2852182388305664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:05:42.549980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2865874767303467 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:06:03.136621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2908661365509033 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:06:22.691053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2906496524810791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:06:42.754620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3124063014984131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:07:02.543950
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2923586368560791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:07:21.877994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29335713386535645 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:07:41.901605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.294785737991333 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:08:02.461945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29372596740722656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:08:22.039965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29451632499694824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:08:42.033622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.287426233291626 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:09:02.771028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3214139938354492 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:09:22.232136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2948000431060791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:09:42.199341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2989015579223633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:10:02.759929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3060264587402344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:10:22.380134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2876427173614502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:10:42.332284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31085944175720215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:11:02.977734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3070540428161621 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:11:22.478845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28775548934936523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:11:42.504744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29664015769958496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:12:03.083807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30797505378723145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:12:22.643850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28528404235839844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:12:42.661433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28969621658325195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:13:02.334261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29836559295654297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:13:21.793694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29564476013183594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:13:41.807612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2882828712463379 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:14:02.397174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29127049446105957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:14:21.942029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28988075256347656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:14:41.976891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28659772872924805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:15:02.685491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29500770568847656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:15:22.130074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29087090492248535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:15:42.160463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28684496879577637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:16:02.710749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912769317626953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:16:22.306330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2974386215209961 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:16:42.307596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29508042335510254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:17:03.077355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28991150856018066 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:17:22.464051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2950594425201416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:17:42.478222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2934443950653076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:18:03.079001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30876827239990234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:18:22.614286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30605435371398926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:18:42.625346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30997300148010254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:19:03.284893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.36665868759155273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:19:22.777723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2885098457336426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:19:42.767426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2990407943725586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:20:02.389089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29454851150512695 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:20:21.918091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29292941093444824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:20:41.919137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2937123775482178 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:21:02.651452
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29767394065856934 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:21:22.047034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3125321865081787 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:21:42.073282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.332979679107666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:22:02.631455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29531240463256836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:22:22.242326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2957899570465088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:22:42.216409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30835437774658203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:23:02.836641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3043043613433838 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:23:22.363366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28914785385131836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:23:42.399060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28926515579223633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:24:02.991601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2946951389312744 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:24:22.543190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2886323928833008 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:24:42.548635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29216766357421875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:25:03.373183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30083298683166504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:25:22.672236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28884220123291016 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:25:42.694227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28734588623046875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:26:02.288794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29100966453552246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:26:21.842020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30909109115600586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:26:41.843788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29488539695739746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:27:02.597649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30542612075805664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:27:21.978529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2873263359069824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:27:41.983634
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30271410942077637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:28:02.640488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29001426696777344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:28:22.115923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2976706027984619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:28:42.107845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29077744483947754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:29:02.730351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30655384063720703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:29:22.267925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30338120460510254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:29:42.244838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28560423851013184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:30:02.802096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2939162254333496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:30:22.385322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29236364364624023 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:30:42.380370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3001224994659424 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:31:03.043035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2987356185913086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:31:22.520386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3070545196533203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:31:42.547126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2851114273071289 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:32:03.071344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29064345359802246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:32:22.697355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2903110980987549 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:32:42.718593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2949209213256836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:33:02.573097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29218578338623047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:33:21.880121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29435014724731445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:33:41.874091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30973005294799805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:34:02.403662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30139946937561035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:34:22.023935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28922247886657715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:34:42.040639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926297187805176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:35:02.820559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29299306869506836 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:35:22.169433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2896919250488281 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:35:42.238504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30958080291748047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:36:02.653873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29634785652160645 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:36:22.386103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2934849262237549 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:36:42.390468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31679868698120117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:37:03.166852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3065173625946045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:37:22.537481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919881343841553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:37:42.553526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28684282302856445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:38:03.115806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3208808898925781 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:38:22.706816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30239343643188477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:38:42.736709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31049227714538574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:39:02.396821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.35592198371887207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:39:21.890068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28707313537597656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:39:41.870257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3088505268096924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:40:02.409027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2998497486114502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:40:22.023690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2966806888580322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:40:42.032251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29314613342285156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:41:02.628975
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3237462043762207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:41:22.179455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.32743096351623535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:41:42.190141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28617095947265625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:42:02.636117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30143046379089355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:42:22.342964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3164091110229492 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:42:42.376277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2948029041290283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:43:02.889461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3132936954498291 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:43:22.541033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915327548980713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:43:42.508055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29529833793640137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:44:03.171868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29094409942626953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:44:22.665218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29442596435546875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:44:42.662586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2994418144226074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:45:02.380499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29939794540405273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:45:21.817610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2919168472290039 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:45:41.802677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2867603302001953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:46:02.474102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2909514904022217 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:46:21.963938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30007219314575195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:46:41.967733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2952699661254883 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:47:02.715209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2915074825286865 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:47:22.104423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3097083568572998 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:47:42.106574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2988920211791992 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:48:02.719655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29077768325805664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:48:22.256645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2926783561706543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:48:42.261220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30107545852661133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:49:03.141356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29905152320861816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:49:22.399767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3008091449737549 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:49:42.414695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2859630584716797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:50:02.907129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3006408214569092 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:50:22.563490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.28786396980285645 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:50:42.559135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.291428804397583 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:51:03.177785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.36420249938964844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:51:22.718390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.315995454788208 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:51:42.688599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30702996253967285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:52:02.302860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30252861976623535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:52:21.867272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30011773109436035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:52:41.832039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31125760078430176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:53:02.532915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2981112003326416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:53:21.970807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2922489643096924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:53:41.981251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2948770523071289 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:54:02.710539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29433727264404297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:54:22.134961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3047177791595459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:54:42.119459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2910492420196533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:55:02.731583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30124783515930176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:55:22.261202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2902963161468506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:55:42.255307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2941868305206299 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:56:02.866952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2912106513977051 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:56:22.412867
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2916736602783203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:56:42.405013
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2890942096710205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:57:03.183415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3023700714111328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:57:22.559507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29427576065063477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:57:42.549706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3041999340057373 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:59:03.501619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3008577823638916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:59:22.687208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3053736686706543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 05:59:42.689416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2928917407989502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:00:02.596080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.30489015579223633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:00:21.809972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2888627052307129 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:00:41.784842
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.29225754737854004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:01:02.754763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
  port_id : 24755256
  datou_current_id : 3253264
in upload_from_sqlite, uploading in 24755256
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg', '/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg', '/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg', '/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0
/media/data/images/05072025/12/36/image_05072025_12_36_35_10308.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_45_9200.jpg
/media/data/images/05072025/12/36/image_05072025_12_36_55_10299.jpg
/media/data/images/05072025/12/36/image_05072025_12_37_06_10767.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_15_9069.jpg
/media/data/images/05072025/12/37/image_05072025_12_37_35_10306.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.31278538703918457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3253264&datou=0 (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:01:21.883154
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:01:41.888103
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:02:02.848460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:02:21.995521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:02:42.003331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:03:03.066493
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:03:22.115225
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:03:42.102711
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:04:02.981416
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:04:22.229031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:04:42.222416
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:05:03.238350
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:05:22.320231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:05:42.323512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:06:02.983158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:06:22.441919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:06:42.428603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:07:03.484098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:07:22.537772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:07:42.552572
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:08:03.233781
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:08:22.663429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:08:42.817331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:09:03.093787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:09:21.768514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:09:41.789723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:10:02.570710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:10:21.875259
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:10:41.982532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:11:02.901770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:11:21.987175
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:11:41.987560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:12:02.725016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:12:22.082615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:12:42.089767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:13:02.986683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:13:22.243770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:13:42.199017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:14:03.064450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:14:22.331060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:14:42.328648
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:15:03.376105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:15:22.453238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:15:42.453955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:16:03.309774
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:16:22.572191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:16:42.565122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:17:03.749940
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:17:22.685409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:17:42.667318
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:18:02.271584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:18:21.785219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:18:41.761221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:19:02.945537
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:19:21.883339
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:19:41.885244
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:20:02.829683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:20:22.007264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:20:41.991624
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:21:03.000307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:21:22.102801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:21:42.120804
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:22:02.990150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:22:22.244882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:22:42.239218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:23:03.250125
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:23:22.389549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:23:42.379524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:24:03.377715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:24:22.541501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:24:42.560758
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:25:03.686792
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:25:22.682831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:25:42.702386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:26:02.535938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:26:21.826987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:26:41.781391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:27:02.847990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:27:21.897438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:27:41.944559
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:28:02.870083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:28:22.072637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:28:42.029861
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:29:03.254250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:29:22.131701
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:29:42.172067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:30:02.905035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:30:22.284301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:30:42.281274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:31:03.361830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:31:22.386779
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:31:42.379716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:32:03.177565
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:32:22.495233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:32:42.542456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:33:03.515413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:33:22.620805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:33:42.599185
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:34:03.541884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:34:22.725317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:34:42.691702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:35:02.792814
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:35:21.791161
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:35:41.797379
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:36:02.605188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:36:21.892941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:36:41.897520
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:37:03.011022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:37:21.996199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:37:42.004634
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:38:02.874608
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:38:22.121295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:38:42.091958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:39:03.196920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:39:22.274742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:39:42.216721
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:40:03.132475
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:40:22.310317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:40:42.301294
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:41:03.414003
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:41:22.423985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:41:42.399366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:42:03.086638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:42:22.502906
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:42:42.589043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:43:03.718577
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:43:22.710868
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:43:42.709199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:44:02.577628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:44:21.827853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:44:41.813149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:45:02.875060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:45:21.938043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:45:41.917285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:46:02.789529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:46:22.132538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:46:42.164654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:47:03.108213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:47:22.258169
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:47:42.270610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:48:03.092964
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:48:22.356824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:48:42.349551
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:49:03.283290
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:49:22.461314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:49:42.545712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:50:03.338144
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:50:22.655637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:50:42.670552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:51:02.692682
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:51:21.770418
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:51:41.773437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:52:02.568149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:52:21.866059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:52:41.883227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:53:03.181338
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:53:22.203714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:53:42.201736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:54:02.952810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:54:22.330236
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:54:42.294293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:55:03.205483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:55:22.434896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:55:42.399817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:56:03.156564
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:56:22.526738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:56:42.475451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:57:03.300986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:57:22.604221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:57:42.585365
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:59:03.482484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:59:22.360627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 06:59:42.350035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:00:03.214319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:00:22.459334
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:00:42.476682
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:01:03.378159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:01:22.575560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:01:42.597989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:02:03.321552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:02:22.687483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:02:42.685809
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:03:02.850117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:03:21.791856
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:03:41.801875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:04:02.753568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:04:21.889996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:04:41.907632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:05:02.981375
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:05:22.033297
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:05:42.010075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:06:02.793204
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:06:22.107569
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:06:42.126494
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:07:03.044748
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:07:22.276780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:07:42.224632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:08:02.838883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:08:22.391312
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:08:42.319152
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:09:03.512884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:09:22.478918
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:09:42.480073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:10:03.071797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:10:22.559242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:10:42.566605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:11:03.719834
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:11:22.734507
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:11:42.704535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:12:02.517818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:12:21.780441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:12:41.798925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:13:02.928725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:13:21.917295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:13:41.914752
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:14:02.851799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:14:22.017715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:14:42.029276
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:15:03.055768
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:15:22.149096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:15:42.140180
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:16:03.037469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:16:22.258796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:16:42.233647
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:17:03.317946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:17:22.355628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:17:42.435121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:18:03.392409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:18:22.534992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:18:42.527590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:19:03.685931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:19:22.643392
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:19:42.633480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:20:03.615430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:20:22.761525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:20:42.744396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:21:02.797344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:21:21.851343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:21:41.835052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:22:02.664375
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:22:21.965815
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:22:41.964879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:23:02.834708
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:23:22.062064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:23:42.058400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:24:03.135672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:24:22.189298
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:24:42.235695
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:25:03.220771
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:25:22.364019
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:25:42.359031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:26:03.311481
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:26:22.446425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:26:42.445724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:27:03.475407
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:27:22.551440
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:27:42.545400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:28:03.386837
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:28:22.631629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:28:42.648719
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:29:03.817361
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:29:22.815200
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:29:42.770451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:30:02.680978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:30:21.871073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:30:41.859709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:31:02.869333
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:31:21.967259
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:31:42.022433
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:32:02.811787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:32:22.060592
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:32:42.058138
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:33:03.240591
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:33:22.170641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:33:42.184074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:34:03.146884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:34:22.308683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:34:42.384928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:35:03.522489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:35:22.621763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:35:42.614033
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:36:03.495946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:36:22.714252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:36:42.704923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:37:02.583020
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:37:21.819042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:37:41.804134
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:38:02.716978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:38:21.992830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:38:41.889342
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:39:02.949919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:39:22.030732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:39:41.984036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:40:02.653220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:40:22.083485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:40:42.095785
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:41:03.098891
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:41:22.205772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:41:42.191603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:42:03.024353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:42:22.287137
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:42:42.266004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:43:03.018264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:43:22.382855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:43:42.364776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:44:03.364407
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:44:22.463437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:44:42.479692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:45:03.515170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:45:22.579404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:45:42.584465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:46:03.356689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:46:22.674292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:46:42.673404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:47:02.762453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:47:21.777839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:47:41.762759
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:48:02.461067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:48:21.931473
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:48:41.856801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:49:02.818392
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:49:21.996825
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:49:41.979374
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:50:02.857242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:50:22.084000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:50:42.073826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:51:03.181442
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:51:22.192834
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:51:42.164127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:52:03.001515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:52:22.255502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:52:42.263472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:53:03.374996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:53:22.509791
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:53:42.442191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:54:03.433851
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:54:22.533828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:54:42.558896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:55:03.422347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:55:22.692085
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:55:42.681392
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:56:02.625957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:56:21.821878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:56:41.765915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:57:02.814549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:57:21.868462
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:57:41.868504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:59:03.898246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:59:22.631466
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 07:59:42.613900
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:00:03.456383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:00:22.720104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:00:42.727720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:01:02.712463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:01:21.846597
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:01:41.836244
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:02:02.720212
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:02:21.953996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:02:41.921230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:03:03.082926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:03:22.039091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:03:42.001801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:04:03.062654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:04:22.110512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:04:42.113489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:05:03.025237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:05:22.222157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:05:42.222821
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:06:03.050315
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:06:22.367812
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:06:42.368060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:07:03.442182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:07:22.483649
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:07:42.486407
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:08:03.293054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:08:22.583474
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:08:42.575277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:09:03.770518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:09:22.667367
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:09:42.684767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:10:02.567754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:10:21.782428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:10:41.862065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:11:02.801356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:11:21.885741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:11:41.879528
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:12:02.767716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:12:21.985642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:12:41.983952
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:13:03.089523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:13:22.114878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:13:42.084463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:14:03.034000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:14:22.196816
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:14:42.206670
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:15:03.288541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:15:22.336482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:15:42.319472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:16:03.191304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:16:22.431241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:16:42.423769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:17:03.329965
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:17:22.537378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:17:42.525485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:18:03.223386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:18:22.609518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:18:42.625124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:19:03.739023
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:19:22.724331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:19:42.719340
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:20:02.494112
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:20:21.838417
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:20:41.823452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:21:02.807220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:21:21.940901
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:21:41.935153
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:22:02.664493
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:22:22.043472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:22:42.049603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:23:03.127158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:23:22.176656
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:23:42.169002
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:24:02.996809
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:24:22.273230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:24:42.301242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:25:03.365093
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:25:22.418849
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:25:42.433556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:26:03.287733
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:26:22.558698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:26:42.519316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:27:03.483870
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:27:22.634522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:27:42.638136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:28:03.460994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:28:22.766722
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:28:42.724451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:29:02.989710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:29:21.851965
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:29:41.840159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:30:02.612432
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:30:22.007388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:30:42.017098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:31:03.045076
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:31:22.213559
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:31:42.125289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:32:02.976112
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:32:22.210431
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:32:42.311550
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:33:03.216905
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:33:22.343948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:33:42.345573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:34:03.321146
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:34:22.461227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:34:42.469782
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:35:03.588465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:35:22.587541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:35:42.597552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:36:03.425879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:36:22.693681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:36:42.700770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:37:02.663881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:37:21.826980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:37:41.780800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:38:02.515348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:38:21.921021
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:38:41.864497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:39:02.920036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:39:22.002864
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:39:41.993351
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:40:02.879590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:40:22.099038
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:40:42.088098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:41:02.968755
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:41:22.204699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:41:42.216225
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:42:02.995094
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:42:22.330673
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:42:42.324829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:43:03.425454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:43:22.444769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:43:42.413713
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:44:03.441610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:44:22.525594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:44:42.517680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:45:03.717923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:45:22.631836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:45:42.654738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:46:03.459086
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:46:22.768518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:46:42.738245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:47:02.884243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:47:21.855454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:47:41.874894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:48:02.712351
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:48:21.978258
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:48:41.964335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:49:03.134472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:49:22.053935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:49:42.074048
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:50:02.941237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:50:22.228115
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:50:42.169536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:51:03.218843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:51:22.290117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:51:42.288318
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:52:03.131934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:52:22.428388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:52:42.395316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:53:03.400932
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:53:22.597145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:53:42.484274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:54:03.375618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:54:22.591400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:54:42.654068
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:55:03.685994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:55:22.747421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:55:42.752956
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:56:02.596925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:56:21.895383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:56:41.894790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:57:02.976980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:57:21.992866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:57:42.055751
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:59:03.896993
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:59:22.765932
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 08:59:42.749449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:00:02.556114
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:00:21.836605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:00:41.852168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:01:02.892997
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:01:21.949736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:01:41.957338
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:02:02.812074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:02:22.075524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:02:42.046985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:03:02.945505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:03:22.163137
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:03:42.151725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:04:03.166035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:04:22.296833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:04:42.255555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:05:03.490344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:05:22.368207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:05:42.360797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:06:03.183617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:06:22.458734
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:06:42.441793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:07:03.471917
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:07:22.610635
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:07:42.553508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:08:03.496274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:08:22.638523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:08:42.646409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:09:03.744471
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:09:22.771044
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:09:42.799758
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:10:02.668640
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:10:21.909580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:10:41.901458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:11:02.866287
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:11:22.023919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:11:42.013173
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:12:02.719021
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:12:22.136865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:12:42.087930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:13:03.210436
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:13:22.290847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:13:42.222642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:14:03.255049
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:14:22.321016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:14:42.339464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:15:03.397767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:15:22.458977
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:15:42.450712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:16:03.096261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:16:22.572599
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:16:42.564924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:17:03.577473
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:17:22.652800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:17:42.680386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:18:02.393573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:18:21.769262
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:18:41.756660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:19:02.807037
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:19:21.868798
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:19:41.876739
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:20:02.770378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:20:21.998039
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:20:41.982515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:21:02.958902
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:21:22.092581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:21:42.084291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:22:02.933514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:22:22.222581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:22:42.191263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:23:02.930198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:23:22.346265
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:23:42.299700
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:24:03.044145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:24:22.417075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:24:42.401988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:25:03.368958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:25:22.511629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:25:42.508092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:26:03.332377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:26:22.621019
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:26:42.612522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:27:03.512299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:27:22.727469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:27:42.749435
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:28:02.581736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:28:21.846240
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:28:41.835390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:29:02.740581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:29:21.979646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:29:41.936221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:30:02.762637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:30:22.145578
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:30:42.030143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:31:03.138589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:31:22.162763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:31:42.128660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:32:02.962014
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:32:22.244461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:32:42.218878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:33:03.259667
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:33:22.326706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:33:42.325704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:34:03.264937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:34:22.436955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:34:42.438309
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:35:03.413119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:35:22.615224
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:35:42.559331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:36:03.289006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:36:22.730721
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:36:42.676390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:37:02.682502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:37:21.775615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:37:41.788460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:38:02.574076
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:38:21.910072
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:38:41.887661
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:39:02.807331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:39:22.034541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:39:41.985422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:40:02.902590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:40:22.064384
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:40:42.067417
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:41:02.998945
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:41:22.248390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:41:42.238785
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:42:03.085484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:42:22.341889
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:42:42.352270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:43:03.508496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:43:22.452043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:43:42.494167
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:44:03.333366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:44:22.545589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:44:42.550714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:45:03.486399
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:45:22.656176
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:45:42.679378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:46:02.465671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:46:21.804037
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:46:41.798298
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:47:02.668920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:47:21.971373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:47:41.916769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:48:02.703679
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:48:22.021574
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:48:41.995153
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:49:03.238301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:49:22.127578
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:49:42.108823
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:50:03.071927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:50:22.222279
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:50:42.269111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:51:03.320428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:51:22.320190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:51:42.295002
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:52:03.036800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:52:22.407958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:52:42.375760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:53:03.500213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:53:22.513895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:53:42.487209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:54:03.349258
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:54:22.628757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:54:42.603329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:55:03.697304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:55:22.698065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:55:42.708833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:56:02.577300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:56:21.833181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:56:41.795991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:57:02.881209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:57:21.935602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:57:41.912212
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:59:03.634958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:59:22.728245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 09:59:42.690987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:00:02.498301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:00:21.801608
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:00:41.834792
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:01:02.767612
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:01:21.964192
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:01:41.990623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:02:02.935020
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:02:22.109669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:02:42.105857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:03:03.249432
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:03:22.207674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:03:42.209363
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:04:03.146118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:04:22.409621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:04:42.403929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:05:03.317055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:05:22.522761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:05:42.503877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:06:03.357663
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:06:22.607667
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:06:42.606674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:07:03.616412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:07:22.820605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:07:42.847357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:08:02.437738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:08:21.939496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:08:41.945021
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:09:03.106312
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:09:22.064971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:09:42.102549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:10:02.998229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:10:22.207853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:10:42.191564
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:11:02.898875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:11:22.308091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:11:42.325274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:12:03.189755
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:12:22.430423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:12:42.428266
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:13:03.474898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:13:22.562213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:13:42.576823
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:14:03.522505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:14:22.688275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:14:42.682821
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:15:02.661197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:15:21.879187
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:15:41.803047
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:16:02.726282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:16:21.942623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:16:41.960770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:17:03.083441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:17:22.080990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:17:42.106643
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:18:02.968296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:18:22.283191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:18:42.212874
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:19:03.403265
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:19:22.304017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:19:42.309401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:20:02.862878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:20:22.426846
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:20:42.420824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:21:03.341122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:21:22.525274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:21:42.530816
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:22:03.483377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:22:22.636422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:22:42.639155
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:23:03.678459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:23:22.759794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:23:42.716437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:24:02.602866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:24:21.875272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:24:41.859607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:25:02.902256
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:25:22.008460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:25:41.959223
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:26:02.685009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:26:22.106884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:26:42.099955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:27:03.074131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:27:22.217007
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:27:42.213931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:28:03.131229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:28:22.326686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:28:42.309166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:29:03.577646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:29:22.445758
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:29:42.432175
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:30:03.320951
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:30:22.574385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:30:42.544275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:31:03.734712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:31:22.743431
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:31:42.659381
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:32:03.498121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:32:22.736807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:32:42.764106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:33:02.824941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:33:21.943415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:33:41.860182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:34:02.830166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:34:21.959714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:34:41.959393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:35:03.149113
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:35:22.082844
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:35:42.164290
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:36:02.898971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:36:22.182114
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:36:42.190020
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:37:03.183525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:37:22.271621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:37:42.310843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:38:03.135743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:38:22.418214
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:38:42.406369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:39:03.507699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:39:22.620126
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:39:42.545916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:40:03.414745
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:40:22.641999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:40:42.645855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:41:03.703644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:41:22.746082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:41:42.750919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:42:02.504783
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:42:21.870301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:42:41.860675
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:43:02.765715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:43:21.980415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:43:41.972327
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:44:02.890643
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:44:22.099008
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:44:42.095517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:45:03.317719
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:45:22.202623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:45:42.228194
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:46:03.025263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:46:22.354535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:46:42.325190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:47:03.334102
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:47:22.417252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:47:42.427080
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:48:03.325537
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:48:22.554789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:48:42.597234
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:49:03.800071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:49:22.718197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:49:42.721122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:50:02.491808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:50:21.824999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:50:41.837801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:51:02.948488
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:51:21.990067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:51:42.017231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:52:02.831413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:52:22.121232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:52:42.106379
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:53:03.033116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:53:22.230314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:53:42.227549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:54:03.050114
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:54:22.328574
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:54:42.377211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:55:03.308724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:55:22.485544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:55:42.471953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:56:03.282332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:56:22.571003
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:56:42.571174
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:57:03.633794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:57:22.679016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:57:42.708580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:59:03.628447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:59:22.557918
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 10:59:42.655767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:00:03.530000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:00:22.761136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:00:42.747629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:01:02.764762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:01:21.877416
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:01:41.874151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:02:02.717501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:02:21.962732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:02:41.978600
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:03:02.911282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:03:22.100174
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:03:42.084371
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:04:02.950197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:04:22.203529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:04:42.206132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:05:03.109370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:05:22.386646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:05:42.309796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:06:03.087614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:06:22.417586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:06:42.413562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:07:03.483741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:07:22.537812
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:07:42.515479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:08:03.359051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:08:22.622400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:08:42.597703
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:09:03.815349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:09:22.783829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:09:42.768829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:10:02.715285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:10:21.887987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:10:41.872205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:11:02.911860
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:11:22.099349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:11:41.968293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:12:02.725085
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:12:22.115647
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:12:42.070455
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:13:03.240780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:13:22.217969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:13:42.193011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:14:02.864772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:14:22.337614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:14:42.309631
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:15:03.407810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:15:22.414242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:15:42.422322
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:16:03.024937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:16:22.562345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:16:42.576462
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:17:03.728941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:17:22.700125
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:17:42.704081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:18:02.579148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:18:21.896274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:18:41.786064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:19:03.000709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:19:21.895051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:19:41.902602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:20:02.638727
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:20:22.010428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:20:41.991311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:21:03.018473
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:21:22.096915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:21:42.173366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:22:02.909218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:22:22.205989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:22:42.176457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:23:03.212740
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:23:22.334147
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:23:42.273075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:24:03.213947
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:24:22.373555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:24:42.398944
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:25:03.426484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:25:22.499838
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:25:42.528580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:26:03.513978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:26:22.644143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:26:42.653884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:27:03.753580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:27:22.772498
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:27:42.768338
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:28:02.654044
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:28:21.900517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:28:41.872568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:29:03.016625
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:29:22.045598
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:29:42.031400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:30:02.777347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:30:22.182267
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:30:42.158161
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:31:03.209854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:31:22.281697
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:31:42.269300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:32:03.079716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:32:22.379456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:32:42.375782
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:33:03.345210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:33:22.489067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:33:42.518294
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:34:03.375625
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:34:22.650524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:34:42.642790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:35:03.569121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:35:22.775532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:35:42.768817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:36:02.685296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:36:21.866136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:36:41.881203
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:37:02.711901
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:37:22.000903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:37:42.006914
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:38:02.906118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:38:22.106405
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:38:42.091937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:39:03.131288
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:39:22.216497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:39:42.217449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:40:03.147996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:40:22.331717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:40:42.334143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:41:03.399753
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:41:22.457524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:41:42.444571
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:42:03.252164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:42:22.561711
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:42:42.556145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:43:03.685904
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:43:22.669693
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:43:42.685993
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:44:02.642715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:44:21.790275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:44:41.781808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:45:02.614007
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:45:21.922364
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:45:41.876837
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:46:02.600086
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:46:22.012858
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:46:41.969709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:47:02.977125
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:47:22.072517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:47:42.072672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:48:02.987588
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:48:22.169767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:48:42.172799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:49:03.315299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:49:22.328079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:49:42.314975
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:50:03.050716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:50:22.482130
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:50:42.411949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:51:03.311265
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:51:22.614364
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:51:42.560424
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:52:03.515727
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:52:22.693389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:52:42.648620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:53:03.760108
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:53:22.763408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:53:42.806706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:54:02.818421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:54:22.123371
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:54:41.930675
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:55:03.065843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:55:22.060698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:55:42.036713
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:56:03.015283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:56:22.137773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:56:42.138969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:57:03.264710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:57:22.234437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:57:42.231640
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:59:02.878326
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:59:21.818790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 11:59:41.831618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:00:02.762659
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:00:21.919307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:00:41.942097
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:01:03.129761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:01:22.041362
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:01:42.061833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:02:02.882772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:02:22.145878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:02:42.148404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:03:03.305999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:03:22.269983
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:03:42.329897
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:04:02.961836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:04:22.361100
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:04:42.350750
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:05:03.447430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:05:22.477406
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:05:42.456016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:06:03.295079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:06:22.573219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:06:42.557178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:07:03.610464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:07:22.665532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:07:42.706545
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:08:02.621349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:08:22.055808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:08:41.858009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:09:02.954852
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:09:22.044632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:09:42.040524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:10:02.898716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:10:22.143862
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:10:42.116927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:11:03.031662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:11:22.214879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:11:42.210812
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:12:03.108157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:12:22.314211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:12:42.315930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:13:03.366270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:13:22.421888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:13:42.417122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:14:03.408327
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:14:22.568925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:14:42.565353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:15:03.720895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:15:22.682319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:15:42.679624
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:16:02.584106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:16:21.856680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:16:41.807986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:17:02.686132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:17:21.920344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:17:41.905111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:18:02.648131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:18:22.003957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:18:42.007712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:19:03.225444
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:19:22.126091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:19:42.147563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:20:02.926444
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:20:22.344191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:20:42.248543
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:21:03.276221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:21:22.369081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:21:42.355448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:22:03.140053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:22:22.459249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:22:42.458790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:23:03.537736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:23:22.544389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:23:42.559736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:24:03.438453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:24:22.670143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:24:42.729108
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:25:02.735404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:25:21.802631
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:25:41.791041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:26:02.572842
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:26:21.891543
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:26:41.892116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:27:02.821241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:27:22.002176
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:27:41.995393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:28:02.954248
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:28:22.148243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:28:42.067805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:29:03.349146
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:29:22.486731
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:29:42.190170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:30:02.977020
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:30:22.294673
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:30:42.280970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:31:03.305055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:31:22.404487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:31:42.396463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:32:03.250787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:32:22.538832
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:32:42.562376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:33:03.658336
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:33:22.665958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:33:42.671724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:34:02.552005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:34:21.793704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:34:41.780229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:35:02.783607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:35:21.878439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:35:41.876210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:36:02.919455
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:36:21.994070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:36:41.959963
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:37:03.117329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:37:22.083156
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:37:42.084830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:38:02.974770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:38:22.194831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:38:42.174828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:39:03.296698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:39:22.296158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:39:42.310570
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:40:03.172461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:40:22.427760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:40:42.414931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:41:03.385762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:41:22.540966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:41:42.559667
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:42:03.405849
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:42:23.101802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:42:42.731484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:43:02.784722
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:43:21.879180
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:43:41.898909
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:44:02.811617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:44:22.086945
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:44:42.092207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:45:03.196536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:45:22.471570
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:45:42.187302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:46:03.083368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:46:22.297935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:46:42.319573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:47:03.507401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:47:22.430230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:47:42.371824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:48:03.361930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:48:22.466978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:48:42.458315
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:49:03.585920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:49:22.608538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:49:42.570219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:50:03.504628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:50:22.678216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:50:42.677829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:51:02.889124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:51:21.798385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:51:41.806396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:52:02.656195
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:52:21.914603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:52:41.949883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:53:02.944794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:53:22.070757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:53:42.045356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:54:02.940079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:54:22.177043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:54:42.180444
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:55:03.116831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:55:22.268687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:55:42.308022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:56:03.064591
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:56:22.440209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:56:42.385414
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:57:03.360731
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:57:22.597235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:57:42.569820
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:59:03.334190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:59:22.545395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 12:59:42.482847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:00:03.317491
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:00:22.594090
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:00:42.592780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:01:03.602409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:01:22.696220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:01:42.693766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:02:02.389299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:02:21.792947
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:02:41.860548
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:03:02.866491
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:03:21.973162
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:03:41.964552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:04:02.946961
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:04:22.511544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:04:42.105360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:05:03.054652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:05:22.222115
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:05:42.278948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:06:03.062541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:06:22.415355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:06:42.397843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:07:03.513583
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:07:22.506762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:07:42.510106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:08:03.333900
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:08:22.603239
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:08:42.632798
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:09:03.731826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:09:22.767534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:09:42.740233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:10:02.653590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:10:21.885434
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:10:41.885784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:11:03.024778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:11:22.238983
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:11:41.993894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:12:02.561594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:12:22.104365
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:12:42.090241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:13:03.264183
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:13:22.189937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:13:42.234501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:14:03.175781
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:14:22.360328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:14:42.369615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:15:03.320296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:15:22.482482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:15:42.498423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:16:03.350841
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:16:22.965666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:16:42.602311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:17:03.596163
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:17:22.759833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:17:42.696441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:18:02.623018
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:18:21.833136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:18:41.784513
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:19:02.946939
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:19:21.908593
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:19:41.956039
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:20:02.853709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:20:22.107688
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:20:42.117098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:21:03.206979
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:21:22.289811
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:21:42.245284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:22:03.023770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:22:22.437161
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:22:42.343536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:23:03.430308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:23:22.446872
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:23:42.440724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:24:03.208866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:24:22.509036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:24:42.552515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:25:03.662218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:25:22.655308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:25:42.663025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:26:02.529216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:26:21.761566
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:26:41.761082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:27:02.801943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:27:21.868368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:27:41.894896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:28:02.778911
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:28:21.991980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:28:41.992321
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:29:02.954405
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:29:22.170526
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:29:42.102495
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:30:02.956730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:30:22.312227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:30:42.209936
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:31:03.222634
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:31:22.330877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:31:42.317925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:32:03.217150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:32:22.531411
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:32:42.405800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:33:03.286134
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:33:22.532873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:33:42.521989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:34:03.510747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:34:22.622177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:34:42.687311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:35:03.716632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:35:22.761980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:35:42.759487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:36:02.700625
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:36:21.870971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:36:41.873547
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:37:02.915180
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:37:21.990637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:37:41.981620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:38:02.833091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:38:22.143924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:38:42.082149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:39:03.065045
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:39:22.208571
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:39:42.185827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:40:03.074975
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:40:22.297931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:40:42.293317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:41:03.112777
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:41:22.389578
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:41:42.382800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:42:03.193191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:42:22.523603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:42:42.486893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:43:03.489776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:43:22.590718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:43:42.605209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:44:03.506450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:44:22.715911
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:44:42.705348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:45:02.737931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:45:21.817227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:45:41.827590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:46:02.701654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:46:21.936230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:46:41.973236
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:47:03.184754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:47:22.183754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:47:42.204289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:48:02.806434
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:48:22.300641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:48:42.310421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:49:03.435429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:49:22.437304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:49:42.419456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:50:03.245520
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:50:22.514186
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:50:42.517671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:51:03.662915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:51:22.624230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:51:42.624992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:52:03.476712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:52:23.014699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:52:42.775357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:53:02.743046
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:53:21.891662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:53:41.886766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:54:02.861445
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:54:22.025933
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:54:42.006343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:55:03.020054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:55:22.102170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:55:42.226580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:56:02.804935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:56:22.309376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:56:42.262246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:57:03.471623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:57:22.389490
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:57:42.363773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:59:03.192488
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:59:22.248291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 13:59:42.249122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:00:03.005027
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:00:22.369111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:00:42.415179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:01:03.440536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:01:22.493718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:01:42.424383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:02:03.304138
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:02:22.529284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:02:42.536430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:03:03.590601
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:03:22.682037
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:03:42.649059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:04:03.603897
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:04:22.771328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:04:42.755261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:05:02.718600
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:05:21.873445
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:05:41.854369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:06:02.744233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:06:21.986831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:06:41.963769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:07:02.818623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:07:22.090124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:07:42.100619
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:08:03.021264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:08:22.234784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:08:42.179072
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:09:03.299314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:09:22.345620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:09:42.301696
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:10:02.998506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:10:22.415501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:10:42.403717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:11:03.458946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:11:22.487774
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:11:42.488986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:12:03.330542
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:12:22.686656
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:12:42.584413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:13:03.467788
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:13:22.711836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:13:42.703411
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:14:02.755468
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:14:21.807004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:14:41.815210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:15:02.763428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:15:21.995765
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:15:41.965444
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:16:02.832246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:16:22.398936
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:16:42.055981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:17:03.092944
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:17:22.184908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:17:42.204107
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:18:02.964446
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:18:22.337523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:18:42.297542
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:19:03.354179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:19:22.728518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:19:42.397141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:20:03.188631
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:20:22.491370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:20:42.498048
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:21:03.519603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:21:22.818104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:21:42.630781
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:22:03.413972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:22:22.724227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:22:42.734515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:23:02.723674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:23:21.968736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:23:41.829354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:24:02.610246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:24:21.962789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:24:41.948992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:25:02.799284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:25:22.081185
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:25:42.079439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:26:02.775978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:26:22.195477
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:26:42.167332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:27:03.351971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:27:22.256100
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:27:42.283557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:28:03.098801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:28:22.576292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:28:42.401725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:29:03.635700
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:29:22.580058
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:29:42.569304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:30:03.430059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:30:22.706136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:30:42.650233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:31:03.677103
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:31:22.760752
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:31:42.772503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:32:02.656886
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:32:22.020854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:32:41.906176
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:33:03.026605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:33:22.013031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:33:42.029283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:34:03.001447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:34:22.181976
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:34:42.174252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:35:03.333336
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:35:22.329727
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:35:42.298339
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:36:03.146602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:36:22.393939
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:36:42.385409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:37:03.495985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:37:22.482672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:37:42.525124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:38:03.278614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:38:22.614218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:38:42.632762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:39:03.799648
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:39:22.759016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:39:42.825557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:40:02.521079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:40:21.829319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:40:41.836581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:41:02.891371
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:41:22.001295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:41:42.007805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:42:02.736930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:42:22.119799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:42:42.110465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:43:03.118395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:43:22.228238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:43:42.217323
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:44:03.245110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:44:22.376285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:44:42.357560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:45:03.549768
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:45:22.451589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:45:42.455292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:46:03.256600
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:46:22.570271
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:46:42.568650
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:47:03.330057
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:47:22.672670
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:47:42.672807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:48:02.603234
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:48:21.771590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:48:41.779330
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:49:02.878044
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:49:21.952211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:49:41.896760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:50:02.750622
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:50:22.019042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:50:41.980568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:51:03.035703
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:51:22.094638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:51:42.094386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:52:02.947406
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:52:22.201302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:52:42.183051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:53:03.274323
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:53:22.306439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:53:42.405906
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:54:03.155306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:54:22.392709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:54:42.392942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:55:03.367278
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:55:22.501996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:55:42.548425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:56:03.314966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:56:22.648887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:56:42.648740
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:57:03.716702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:57:22.763764
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:57:42.746237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:59:03.425512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:59:22.481216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 14:59:42.423271
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:00:03.323508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:00:22.669951
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:00:42.515587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:01:03.622670
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:01:22.605855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:01:42.603308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:02:03.530189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:02:22.772285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:02:42.770478
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:03:02.764614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:03:21.965014
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:03:41.972778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:04:02.824041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:04:22.085348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:04:42.093429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:05:02.926188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:05:22.179977
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:05:42.207918
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:06:02.987369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:06:22.309506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:06:42.342343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:07:03.418566
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:07:22.408586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:07:42.404744
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:08:03.179074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:08:22.556584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:08:42.535479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:09:03.864508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:09:22.662565
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:09:42.690307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:10:02.564303
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:10:21.803511
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:10:41.775308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:11:02.935587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:11:21.915535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:11:42.049151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:12:02.865838
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:12:21.973218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:12:41.974827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:13:03.090612
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:13:22.097508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:13:42.165579
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:14:02.960239
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:14:22.267220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:14:42.280178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:15:03.266819
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:15:22.397695
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:15:42.401473
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:16:03.311174
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:16:22.496360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:16:42.516544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:17:03.575956
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:17:22.693994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:17:42.642188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:18:03.471385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:18:22.866783
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:18:42.749875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:19:02.751988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:19:21.893337
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:19:41.868539
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:20:02.662341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:20:21.999556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:20:42.035219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:21:03.056687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:21:22.158901
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:21:42.161636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:22:03.109170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:22:22.385935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:22:42.397475
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:23:03.495363
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:23:22.530801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:23:42.578981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:24:03.386861
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:24:22.764893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:24:42.662715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:25:02.483081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:25:21.777127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:25:41.964931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:26:02.564401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:26:21.927387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:26:41.950323
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:27:03.059057
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:27:22.051687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:27:42.044183
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:28:02.826960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:28:22.162062
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:28:42.144421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:29:03.282697
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:29:22.304058
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:29:42.270949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:30:03.022011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:30:22.402654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:30:42.387604
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:31:03.492277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:31:22.676363
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:31:42.579642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:32:03.358860
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:32:22.774228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:32:42.673271
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:33:02.666074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:33:21.908976
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:33:41.788551
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:34:02.739178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:34:21.894314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:34:41.910995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:35:02.988975
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:35:22.005817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:35:42.017273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:36:02.947844
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:36:22.230224
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:36:42.136229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:37:03.076047
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:37:22.237972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:37:42.263563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:38:03.066720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:38:22.378093
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:38:42.379300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:39:03.559063
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:39:22.511439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:39:42.525077
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:40:03.395943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:40:22.627534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:40:42.615367
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:41:03.771740
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:41:22.731247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:41:42.715974
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:42:02.597219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:42:21.850870
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:42:41.919535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:43:03.006330
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:43:22.141159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:43:42.034704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:44:02.957580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:44:22.151328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:44:42.136214
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:45:03.207408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:45:22.337656
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:45:42.327068
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:46:03.207662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:46:22.434813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:46:42.411234
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:47:03.412006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:47:22.539395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:47:42.536923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:48:03.492053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:48:22.645484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:48:42.641498
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:49:03.849780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:49:22.720197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:49:42.741723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:50:02.565943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:50:21.846907
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:50:41.833644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:51:02.856928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:51:22.060166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:51:41.934069
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:52:02.803560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:52:22.045690
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:52:42.031052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:53:02.989052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:53:22.126799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:53:42.130910
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:54:03.107504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:54:22.268416
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:54:42.237556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:55:03.043500
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:55:22.371930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:55:42.363421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:56:03.187009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:56:22.552217
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:56:42.479900
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:57:03.691182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:57:22.568136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:57:42.586215
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:59:03.209943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:59:22.368960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 15:59:42.336171
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:00:03.201908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:00:22.523718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:00:42.503610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:01:03.409953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:01:22.686933
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:01:42.647147
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:02:03.463320
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:02:22.795387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:02:42.732422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:03:02.797780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:03:21.936636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:03:41.835708
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:04:02.699452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:04:21.944611
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:04:41.947677
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:05:02.897371
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:05:22.052241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:05:42.052683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:06:02.857283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:06:22.178873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:06:42.152942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:07:03.160144
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:07:22.281170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:07:42.285875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:08:03.215135
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:08:22.409071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:08:42.368335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:09:03.565750
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:09:22.514684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:09:42.495818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:10:03.348554
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:10:22.721595
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:10:42.626652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:11:03.641036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:11:22.712033
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:11:42.732060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:12:02.566242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:12:21.849172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:12:41.912628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:13:02.868445
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:13:22.009288
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:13:42.016450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:14:02.824190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:14:22.129461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:14:42.144567
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:15:03.082853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:15:22.257788
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:15:42.245440
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:16:02.980732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:16:22.358196
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:16:42.349793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:17:03.343451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:17:22.484133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:17:42.464089
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:18:03.363209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:18:22.590153
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:18:42.575324
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:19:03.343749
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:19:22.743270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:19:42.680941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:20:02.508645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:20:21.887682
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:20:41.786237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:21:02.739535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:21:22.015557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:21:41.910459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:22:02.614593
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:22:22.005669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:22:42.590991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:23:03.495876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:23:22.767046
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:23:42.690567
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:24:02.573453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:24:21.799328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:24:41.842943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:25:02.841598
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:25:22.054916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:25:41.941742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:26:02.718264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:26:22.043620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:26:42.046397
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:27:02.953995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:27:22.282638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:27:42.167228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:28:02.774824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:28:22.280098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:28:42.249100
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:29:03.284428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:29:22.382810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:29:42.369701
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:30:03.214602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:30:22.550854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:30:42.491189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:31:03.466980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:31:22.600164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:31:42.608778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:32:03.556183
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:32:22.813699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:32:42.799313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:33:02.824553
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:33:21.925455
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:33:41.907426
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:34:02.934857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:34:22.044704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:34:42.025340
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:35:02.948428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:35:22.186607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:35:42.176467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:36:03.189482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:36:22.406243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:36:42.308243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:37:03.388311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:37:22.416480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:37:42.428952
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:38:03.384720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:38:22.554649
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:38:42.540859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:39:03.678016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:39:22.702031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:39:42.659412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:40:02.543356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:40:21.807529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:40:41.730295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:41:02.746680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:41:21.846194
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:41:41.840183
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:42:02.514068
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:42:21.961650
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:42:41.989959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:43:03.062103
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:43:22.075585
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:43:42.102445
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:44:02.886614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:44:22.235726
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:44:42.202193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:45:03.304883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:45:22.340326
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:45:42.311329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:46:03.035643
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:46:22.433454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:46:42.464644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:47:03.278995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:47:22.587252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:47:42.638408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:48:03.469717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:48:22.709311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:48:42.688345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:49:02.908305
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:49:21.830882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:49:41.786420
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:50:02.636976
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:50:21.950309
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:50:41.915019
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:51:02.779504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:51:22.083776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:51:42.014500
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:52:02.893618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:52:22.138702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:52:42.160412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:53:03.202630
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:53:22.307879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:53:42.249577
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:54:03.236892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:54:22.361982
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:54:42.514211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:55:03.359404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:55:22.506330
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:55:42.531207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:56:03.390172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:56:22.664238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:56:42.623935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:57:03.624793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:57:22.745916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:57:42.743953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:59:03.596847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:59:22.622718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 16:59:42.565011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:00:03.457790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:00:22.662306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:00:42.700229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:01:02.711522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:01:21.800668
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:01:41.841817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:02:02.791850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:02:21.957217
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:02:41.930603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:03:02.958133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:03:22.045632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:03:42.063282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:04:03.032972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:04:22.181090
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:04:42.200259
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:05:03.348574
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:05:22.307336
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:05:42.280879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:06:03.221134
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:06:22.382857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:06:42.375297
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:07:03.362450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:07:22.510224
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:07:42.523383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:08:03.348873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:08:22.628752
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:08:42.601898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:09:03.734489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:09:22.809618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:09:42.808962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:10:02.560926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:10:21.912519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:10:41.908000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:11:03.040810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:11:22.037564
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:11:42.030101
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:12:02.849428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:12:22.137250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:12:42.133806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:13:03.129289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:13:22.318122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:13:42.247337
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:14:03.219317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:14:22.370793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:14:42.434784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:15:03.449194
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:15:22.557206
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:15:42.564539
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:16:03.362743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:16:22.701263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:16:42.701984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:17:02.636680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:17:21.853657
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:17:41.816251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:18:02.698898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:18:21.925503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:18:41.902596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:19:03.029051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:19:22.024633
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:19:42.070698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:20:03.037157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:20:22.184971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:20:42.149725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:21:03.290828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:21:22.277181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:21:42.264349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:22:03.154835
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:22:22.387299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:22:42.355560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:23:03.352550
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:23:22.474063
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:23:42.482741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:24:03.459724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:24:23.235951
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:24:42.597208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:25:03.652716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:25:22.705674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:25:42.708909
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:26:02.428702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:26:21.798853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:26:41.797739
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:27:02.800243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:27:21.923691
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:27:41.897464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:28:02.902747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:28:21.999294
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:28:41.988963
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:29:03.240242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:29:22.088698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:29:42.133513
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:30:02.812380
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:30:22.235378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:30:42.236688
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:31:03.339610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:31:22.350111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:31:42.352656
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:32:03.266244
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:32:22.441065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:32:42.448966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:33:03.453471
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:33:22.543159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:33:42.566374
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:34:03.440469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:34:22.694992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:34:42.665941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:35:02.660074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:35:21.785692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:35:41.791226
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:36:02.586580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:36:21.886638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:36:41.890994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:37:02.925621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:37:22.010636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:37:41.982127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:38:02.820063
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:38:22.107305
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:38:42.066330
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:39:03.088492
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:39:22.170655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:39:42.190638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:40:03.012968
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:40:22.308749
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:40:42.286986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:41:03.197179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:41:22.384043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:41:42.389816
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:42:03.281337
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:42:22.493432
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:42:42.482388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:43:03.428813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:43:22.599719
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:43:42.604264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:44:03.605269
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:44:22.719000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:44:42.713238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:45:02.758208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:45:21.864068
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:45:41.866885
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:46:02.667149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:46:22.028630
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:46:42.035261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:47:02.989990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:47:22.189754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:47:42.171141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:48:03.070355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:48:22.274588
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:48:42.282891
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:49:03.144730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:49:22.382482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:49:42.399711
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:50:03.172373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:50:22.483367
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:50:42.508622
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:51:03.599387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:51:22.645387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:51:42.615049
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:52:03.376613
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:52:22.693835
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:52:42.768743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:53:02.897586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:53:21.919063
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:53:42.010731
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:54:02.767636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:54:21.996908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:54:41.996888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:55:03.142786
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:55:22.177682
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:55:42.108537
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:56:02.993511
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:56:22.226403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:56:42.210013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:57:03.378263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:57:22.361919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:57:42.394053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:59:03.482241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:59:22.252760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 17:59:42.258768
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:00:03.094980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:00:22.358015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:00:42.364908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:01:03.439669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:01:22.452073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:01:42.453469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:02:03.275062
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:02:22.545903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:02:42.591277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:03:03.514406
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:03:22.718990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:03:42.699685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:04:02.685761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:04:21.837863
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:04:41.945388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:05:02.947170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:05:22.081170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:05:42.077121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:06:02.903989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:06:22.180651
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:06:42.175520
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:07:03.104612
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:07:22.298177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:07:42.292453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:08:03.209423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:08:22.461946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:08:42.393741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:09:03.756613
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:09:22.567231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:09:42.561927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:10:03.547088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:10:22.713096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:10:42.696047
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:11:02.935638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:11:21.805765
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:11:41.790227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:12:02.690249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:12:21.888534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:12:41.859402
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:13:02.924981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:13:21.976457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:13:41.978655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:14:02.752301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:14:22.105864
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:14:42.088013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:15:03.313502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:15:22.336895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:15:42.177272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:16:03.122307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:16:22.297827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:16:42.289452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:17:03.473362
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:17:22.385525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:17:42.393778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:18:03.256589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:18:22.513724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:18:42.506128
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:19:03.543250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:19:22.641048
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:19:42.632625
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:20:03.555562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:20:22.736619
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:20:42.733914
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:21:02.873956
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:21:21.873119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:21:41.815681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:22:02.625555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:22:21.987756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:22:41.917844
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:23:03.058426
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:23:22.034772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:23:42.016691
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:24:03.047271
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:24:22.159791
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:24:42.168857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:25:03.191743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:25:22.277556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:25:42.267426
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:26:03.120850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:26:22.395060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:26:42.358902
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:27:03.318519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:27:22.534938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:27:42.469772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:28:03.380187
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:28:22.623431
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:28:42.562457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:29:03.818450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:29:22.695442
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:29:42.694512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:30:02.489198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:30:21.809149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:30:41.790341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:31:02.858182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:31:21.901746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:31:41.904335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:32:02.757892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:32:22.043302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:32:41.994456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:33:03.035899
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:33:22.101368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:33:42.138283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:34:03.150847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:34:22.235604
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:34:42.236047
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:35:03.286508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:35:22.338358
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:35:42.344994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:36:03.145479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:36:22.440478
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:36:42.542520
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:37:03.440762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:37:22.591076
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:37:42.564991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:38:03.327539
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:38:22.669132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:38:42.654333
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:39:03.719558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:39:22.768015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:39:42.766570
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:40:02.503775
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:40:21.871795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:40:41.874992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:41:02.942867
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:41:22.011041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:41:42.026632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:42:02.895919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:42:22.123281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:42:42.111930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:43:03.025642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:43:22.209848
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:43:42.240023
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:44:03.038803
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:44:22.407873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:44:42.377332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:45:03.558957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:45:22.522139
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:45:42.514644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:46:03.229143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:46:22.606892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:46:42.588863
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:47:03.633226
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:47:22.733240
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:47:42.778245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:48:02.605565
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:48:21.812058
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:48:41.807654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:49:02.957370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:49:21.901891
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:49:41.961753
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:50:02.825869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:50:22.079163
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:50:42.088187
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:51:03.168976
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:51:22.180811
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:51:42.183618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:52:03.019366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:52:22.286536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:52:42.270328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:53:03.296919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:53:22.380325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:53:42.388148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:54:03.327973
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:54:22.520266
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:54:42.502969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:55:03.508985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:55:22.636169
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:55:42.609464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:56:03.474563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:56:22.746272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:56:42.704601
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:57:02.497072
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:57:21.801806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:57:41.824651
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:59:03.583662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:59:22.578586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 18:59:42.543459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:00:03.369620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:00:22.649588
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:00:42.681651
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:01:03.641519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:01:22.736281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:01:42.771422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:02:02.602899
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:02:21.869890
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:02:41.891963
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:03:03.007957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:03:22.007697
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:03:42.006987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:04:03.017974
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:04:22.134256
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:04:42.106221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:05:03.164370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:05:22.211090
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:05:42.201180
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:06:03.073630
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:06:22.312030
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:06:42.321150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:07:03.413811
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:07:22.496051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:07:42.495237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:08:03.266404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:08:22.598959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:08:42.595222
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:09:03.793824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:09:22.710522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:09:42.729260
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:10:02.565476
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:10:21.861179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:10:41.882735
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:11:02.989908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:11:21.995443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:11:41.998704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:12:02.881546
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:12:22.094713
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:12:42.087275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:13:03.191010
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:13:22.235357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:13:42.195238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:14:03.146283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:14:22.311503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:14:42.295877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:15:03.384759
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:15:22.409140
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:15:42.472426
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:16:03.309164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:16:22.592110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:16:42.608663
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:17:03.666917
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:17:22.704572
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:17:42.704280
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:18:02.620962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:18:21.805624
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:18:41.811671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:19:02.899549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:19:21.951193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:19:41.953895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:20:02.960706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:20:22.059002
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:20:42.074829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:21:03.031907
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:21:22.228006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:21:42.174733
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:22:03.089328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:22:22.289801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:22:42.269552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:23:03.442376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:23:22.408168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:23:42.384235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:24:03.428492
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:24:22.484795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:24:42.491887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:25:03.634471
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:25:22.592741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:25:42.620247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:26:03.679001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:26:22.740231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:26:42.697176
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:27:02.832079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:27:21.843207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:27:41.820220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:28:02.499287
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:28:21.968582
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:28:41.960480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:29:03.201967
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:29:22.084897
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:29:42.089989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:30:03.033999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:30:22.183644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:30:42.224607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:31:03.101729
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:31:22.346053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:31:42.344090
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:32:03.257191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:32:22.458892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:32:42.486096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:33:03.708605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:33:22.665415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:33:42.667031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:34:02.580627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:34:21.788547
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:34:41.769393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:35:03.014049
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:35:21.858836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:35:41.855862
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:36:02.809956
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:36:21.959035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:36:41.962835
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:37:03.125762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:37:22.070118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:37:42.071761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:38:02.584558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:38:22.197455
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:38:42.199726
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:39:03.278669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:39:22.340285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:39:42.361566
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:40:03.320674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:40:22.477515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:40:42.595573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:41:03.622040
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:41:22.717274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:41:42.734272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:42:02.582088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:42:21.842663
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:42:41.825918
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:43:03.054867
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:43:21.955698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:43:41.955413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:44:02.942480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:44:22.069300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:44:42.067949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:45:03.070151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:45:22.197346
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:45:42.202428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:46:02.999310
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:46:22.301689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:46:42.327645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:47:03.297345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:47:22.431157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:47:42.430199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:48:03.226735
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:48:22.566898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:48:42.517766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:49:03.579645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:49:22.634417
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:49:42.622166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:50:03.542048
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:50:22.729052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:50:42.723828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:51:02.688231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:51:21.871348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:51:41.860642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:52:02.704962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:52:21.970756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:52:41.935793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:53:03.126208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:53:22.051055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:53:42.120591
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:54:03.107290
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:54:22.199458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:54:42.191813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:55:03.150638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:55:22.348460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:55:42.285955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:56:03.159589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:56:22.391903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:56:42.383810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:57:03.580325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:57:22.492084
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:57:42.482624
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:59:03.367030
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:59:22.215489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 19:59:42.194306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:00:02.964992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:00:22.289755
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:00:42.300405
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:01:03.413587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:01:22.429124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:01:42.425081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:02:03.343646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:02:22.515931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:02:42.527932
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:03:03.737472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:03:22.646276
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:03:42.704672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:04:02.498485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:04:21.865155
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:04:41.831302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:05:02.809953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:05:21.932249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:05:41.944720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:06:02.834833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:06:22.053312
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:06:42.033942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:07:02.981614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:07:22.225680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:07:42.150217
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:08:03.023915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:08:22.283022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:08:42.294937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:09:03.295386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:09:22.392928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:09:42.418998
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:10:03.231312
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:10:22.511344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:10:42.554432
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:11:03.649947
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:11:22.653363
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:11:42.618873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:12:03.376879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:12:22.729528
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:12:42.714495
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:13:02.659454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:13:21.818791
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:13:41.826827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:14:02.629239
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:14:21.961887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:14:41.943408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:15:02.921156
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:15:22.037616
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:15:42.052258
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:16:03.038677
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:16:22.238154
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:16:42.237127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:17:03.333587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:17:22.335798
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:17:42.350957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:18:03.215313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:18:22.446123
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:18:42.431348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:19:03.643584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:19:22.571321
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:19:42.559447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:20:03.454324
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:20:22.678408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:20:42.666895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:21:02.909954
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:21:21.785788
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:21:41.772307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:22:02.614073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:22:21.900744
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:22:41.894334
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:23:02.986877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:23:21.980494
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:23:41.981005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:24:03.003876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:24:22.109523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:24:42.097503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:25:03.007839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:25:22.203908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:25:42.225191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:26:03.042992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:26:22.325280
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:26:42.318235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:27:03.397202
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:27:22.430171
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:27:42.420780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:28:03.369582
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:28:22.544504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:28:42.524043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:29:03.692954
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:29:22.647466
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:29:42.671480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:30:02.465447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:30:21.808333
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:30:41.773367
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:31:02.696882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:31:21.873314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:31:41.864634
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:32:02.650307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:32:21.972989
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:32:42.007507
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:33:03.072403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:33:22.150516
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:33:42.116366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:34:03.027495
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:34:22.215065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:34:42.247541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:35:03.442801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:35:22.362276
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:35:42.355911
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:36:03.089555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:36:22.495342
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:36:42.459231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:37:03.494951
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:37:22.650571
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:37:42.631168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:38:03.412686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:38:22.764412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:38:42.762205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:39:02.753505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:39:21.912040
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:39:41.941116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:40:02.689117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:40:22.068368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:40:42.086054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:41:02.985322
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:41:22.226694
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:41:42.247404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:42:03.102316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:42:22.388270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:42:42.382754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:43:03.394101
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:43:22.519607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:43:42.527009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:44:03.380412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:44:22.763592
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:44:42.647756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:45:03.628325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:45:22.798129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:45:42.804495
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:46:02.450038
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:46:21.928936
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:46:41.944888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:47:02.624247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:47:22.068381
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:47:42.068943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:48:02.926650
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:48:22.219558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:48:42.235453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:49:03.113797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:49:22.380379
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:49:42.390889
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:50:03.089955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:50:22.547875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:50:42.537292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:51:03.358389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:51:22.677195
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:51:42.733085
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:52:02.581062
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:52:21.876621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:52:41.860457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:53:02.851391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:53:22.014078
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:53:42.012732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:54:02.846828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:54:22.220964
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:54:42.161605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:55:03.090955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:55:22.340783
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:55:42.358784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:56:03.003054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:56:22.491314
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:56:42.507405
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:57:03.458919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:57:22.642709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:57:42.641549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:59:03.082925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:59:22.216336
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 20:59:42.210820
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:00:02.957150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:00:22.347005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:00:42.351130
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:01:03.203909
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:01:22.499586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:01:42.486388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:02:03.139270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:02:22.637389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:02:42.619181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:03:03.644072
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:03:22.765254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:03:42.756660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:04:02.397978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:04:21.927872
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:04:41.895683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:05:02.806751
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:05:22.038250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:05:42.090437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:06:02.694671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:06:22.220170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:06:42.234067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:07:03.115883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:07:22.381535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:07:42.371241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:08:03.100161
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:08:22.510088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:08:42.501503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:09:03.432608
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:09:22.641200
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:09:42.655826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:10:02.385430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:10:21.831459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:10:41.912025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:11:02.826229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:11:22.071198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:11:42.062802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:12:02.717795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:12:22.200360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:12:42.193313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:13:03.081633
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:13:22.347060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:13:42.377962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:14:03.179227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:14:22.609990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:14:42.572141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:15:03.558776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:15:22.725193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:15:42.729857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:16:02.433949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:16:21.894547
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:16:41.916675
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:17:02.805004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:17:22.066935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:17:42.040438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:18:02.720097
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:18:22.179084
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:18:42.241603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:19:03.163593
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:19:22.388005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:19:42.453259
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:20:03.188724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:20:22.599522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:20:42.609401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:21:03.631658
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:21:22.766641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:21:42.746794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:22:02.457247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:22:21.929188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:22:41.905699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:23:02.835766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:23:22.123671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:23:42.033191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:24:02.798585
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:24:22.210172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:24:42.191200
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:25:03.000621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:25:22.340220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:25:42.332065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:26:02.980946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:26:22.468589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:26:42.458430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:27:03.335943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:27:22.596097
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:27:42.588744
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:28:02.987457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:28:22.725188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:28:42.729297
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:29:02.790051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:29:21.882218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:29:41.977847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:30:02.507133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:30:22.120779
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:30:42.112119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:31:02.970181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:31:22.315036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:31:42.237454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:32:02.970128
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:32:22.392569
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:32:42.394742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:33:03.133439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:33:22.523716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:33:42.521269
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:34:03.310640
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:34:22.684558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:34:42.675262
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:35:02.615251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:35:21.839439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:35:41.833674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:36:02.618657
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:36:22.040500
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:36:41.976400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:37:02.790017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:37:22.116086
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:37:42.113496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:38:02.791204
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:38:22.290583
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:38:42.258926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:39:03.177994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:39:22.402138
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:39:42.430002
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:40:03.169208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:40:22.594375
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:40:42.572280
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:41:03.244313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:41:22.708862
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:41:42.731568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:42:02.380538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:42:21.862686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:42:41.883361
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:43:02.848750
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:43:22.014917
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:43:42.034835
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:44:02.790508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:44:22.193131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:44:42.174540
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:45:03.044931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:45:22.320859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:45:42.389483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:46:03.022221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:46:22.521698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:46:42.543302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:47:03.349486
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:47:22.690707
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:47:42.674771
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:48:02.360584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:48:21.807718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:48:41.818164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:49:02.729101
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:49:22.005512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:49:42.014167
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:50:02.647461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:50:22.147521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:50:42.230971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:51:03.022534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:51:22.402256
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:51:42.390061
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:52:03.083406
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:52:22.509653
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:52:42.517802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:53:03.341403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:53:22.664266
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:53:42.680463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:54:02.557906
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:54:21.813605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:54:41.831508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:55:02.589025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:55:21.977684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:55:41.968394
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:56:02.816826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:56:22.085209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:56:42.197608
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:57:02.972268
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:57:22.344806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:57:42.354105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:59:02.938349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:59:22.138229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 21:59:42.136567
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:00:02.851659
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:00:22.282799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:00:42.268795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:01:02.955662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:01:22.427154
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:01:42.426160
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:02:03.141986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:02:22.571747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:02:42.565778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:03:03.299507
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:03:22.750534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:03:42.732714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:04:02.511687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:04:21.891336
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:04:41.869265
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:05:02.809135
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:05:22.016311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:05:42.032685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:06:02.686706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:06:22.179684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:06:42.172487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:07:03.105317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:07:22.319743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:07:42.300889
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:08:03.070622
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:08:22.446448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:08:42.436122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:09:03.279895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:09:22.622655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:09:42.609446
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:10:03.349936
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:10:22.757311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:10:42.755974
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:11:02.631349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:11:21.906801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:11:41.904776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:12:02.451892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:12:22.051309
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:12:42.090567
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:13:03.042238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:13:22.246054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:13:42.270524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:14:04.068701
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 340, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 411, in get_metadata_infos
    image = Image.open(imagename)
  File "/home/nano/.local/lib/python3.6/site-packages/PIL/Image.py", line 2912, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/media/data/images/14072025/06/00/image_14072025_06_00_15_10705.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:15:04.866490
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:15:22.249804
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:15:42.260263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:16:03.090433
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:16:22.413232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:16:42.442584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:17:03.424254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:17:22.598494
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:17:42.614035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:18:03.240415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:18:22.782346
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:18:42.790410
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:19:02.810906
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:19:21.938216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:19:41.941150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:20:02.557627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:20:22.083490
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:20:42.084896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:21:02.944641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:21:22.300118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:21:42.228954
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:22:02.924016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:22:22.392621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:22:42.370393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:23:03.325878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:23:22.537131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:23:42.516756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:24:03.432332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:24:22.730652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:24:42.655803
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:25:02.514051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:25:21.843224
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:25:41.782568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:26:02.551676
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:26:21.949428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:26:41.928139
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:27:02.825021
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:27:22.079018
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:27:42.143183
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:28:02.897272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:28:22.306255
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:28:42.286061
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:29:03.382252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:29:22.466604
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:29:42.447149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:30:03.392134
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:30:22.604621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:30:42.587228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:31:03.409569
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:31:22.651992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:31:42.590606
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:32:03.229637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:32:22.735822
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:32:42.725169
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:33:02.617761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:33:21.937850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:33:41.907372
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:34:02.785795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:34:22.094380
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:34:42.101828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:35:02.838552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:35:22.262289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:35:42.261151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:36:03.103969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:36:22.396013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:36:42.409447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:37:03.286988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:37:22.559817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:37:42.556570
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:38:03.306504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:38:22.711873
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:38:42.689040
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:39:02.706273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:39:21.837339
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:39:41.853238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:40:02.662854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:40:22.004022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:40:41.991569
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:41:02.708830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:41:22.142560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:41:42.146687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:42:02.902713
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:42:22.298995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:42:42.294984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:43:03.241437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:43:22.456045
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:43:42.438446
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:44:03.302543
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:44:22.582566
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:44:42.588012
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:45:03.434949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:45:22.739228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:45:42.723054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:46:02.484522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:46:21.872702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:46:41.874142
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:47:02.917059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:47:22.043607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:47:42.012188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:48:02.872329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:48:22.233121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:48:42.168775
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:49:02.994116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:49:22.375389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:49:42.332914
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:50:03.090924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:50:22.474199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:50:42.513263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:51:03.327492
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:51:22.676025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:51:42.639209
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:52:03.259540
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:52:22.797280
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:52:42.779032
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:53:02.664538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:53:21.916903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:53:41.920493
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:54:02.667882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:54:22.078506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:54:42.066741
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:55:02.929373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:55:22.274900
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:55:42.198654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:56:02.928461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:56:22.335155
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:56:42.340471
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:57:03.164991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:57:22.483928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:57:42.515896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:59:03.080295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:59:22.213396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 22:59:42.210629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:00:02.841129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:00:22.354413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:00:42.419779
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:01:03.285629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:01:22.561545
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:01:42.567211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:02:03.232208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:02:22.702052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:02:42.751767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:03:02.662942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:03:21.880234
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:03:41.891263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:04:02.788425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:04:22.053987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:04:42.033173
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:05:02.968122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:05:22.206182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:05:42.196297
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:06:02.886160
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:06:22.428677
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:06:42.374589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:07:03.380083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:07:22.529441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:07:42.566175
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:08:03.318617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:08:22.713502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:08:42.724879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:09:02.558193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:09:21.942305
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:09:41.891416
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:10:02.733618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:10:22.066220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:10:42.045620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:11:03.065948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:11:22.189003
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:11:42.197017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:12:02.869054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:12:22.323847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:12:42.356168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:13:03.302329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:13:22.493736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:13:42.497465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:14:03.238802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:14:22.647539
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:14:42.647127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:15:02.625355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:15:21.792484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:15:41.797614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:16:02.666468
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:16:21.945831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:16:41.937603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:17:02.942383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:17:22.081335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:17:42.153594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:18:02.860717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:18:22.287206
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:18:42.283594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:19:03.065612
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:19:22.494482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:19:42.407730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:20:03.023264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:20:22.556372
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:20:42.549306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:21:03.350178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:21:22.693087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:21:42.701017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:22:02.501708
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:22:21.910081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:22:41.919641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:23:02.857200
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:23:22.042261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:23:42.058666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:24:02.796001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:24:22.221971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:24:42.274407
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:25:03.242718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:25:22.429449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:25:42.420884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:26:03.193808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:26:22.617267
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:26:42.623573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:27:03.579347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:27:22.739985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:27:42.782511
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:28:02.297138
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:28:21.934985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:28:41.945272
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:29:02.968491
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:29:22.090400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:29:42.073232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:30:02.624618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:30:22.218501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:30:42.224668
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:31:03.051921
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:31:22.366738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:31:42.386707
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:32:02.899627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:32:22.540860
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:32:42.570175
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:33:03.591605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:33:22.708064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:33:42.714413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:34:02.629857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:34:21.866773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:34:41.869133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:35:02.760141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:35:22.010699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:35:42.002121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:36:02.614563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:36:22.215885
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:36:42.133438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:37:03.109969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:37:22.275396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:37:42.297631
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:38:02.829511
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:38:22.477617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:38:42.435745
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:39:03.390876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:39:22.632501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:39:42.588803
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:40:03.427587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:40:22.727254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:40:42.735536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:41:02.522916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:41:21.944982
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:41:41.874351
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:42:02.607863
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:42:22.080590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:42:42.013554
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:43:02.892531
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:43:22.173762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:43:42.194777
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:44:03.081945
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:44:22.336251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:44:42.351398
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:45:03.257610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:45:22.526452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:45:42.485025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:46:03.242064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:46:22.674121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:46:42.679562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:47:02.439457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:47:21.839189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:47:41.827799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:48:02.601309
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:48:21.945617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:48:41.995403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:49:03.054577
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:49:22.155251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:49:42.128427
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:50:02.845311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:50:22.305288
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:50:42.320106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:51:03.346009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:51:22.455808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:51:42.467773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:52:03.185863
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:52:22.617501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:52:42.612083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:53:03.659492
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:53:22.783699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:53:42.769465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:54:02.562711
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:54:21.919930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:54:41.919519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:55:02.734884
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:55:22.062249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:55:42.064868
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:56:02.576974
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:56:22.207569
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:56:42.199377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:57:03.187581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:57:22.359113
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u marlene.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-07-14 23:57:42.358503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_14072025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14072025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 464, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 512, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(CertificateError("hostname 'marlene.fotonower.com' doesn't match either of 'espace-client.orange.fr', 'webview.espace-client.orange.fr', 'webview-sosh.espace-client.orange.fr', 'www.numerosutileseurope.orange.fr'",),))
